* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: #0d2e5a; 
}

.container {
    background: #fff;
    padding: 2.5rem; 
    border-radius: 15px;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.25);
    width: 360px; 
    text-align: center;
    animation: fadeIn 1s ease;
    z-index: 1;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.container h1 {
    margin-bottom: 1rem;
    color: #0077B5;
    font-size: 2rem;
}

.container p {
    margin-bottom: 2rem;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

.container input {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.3s;
    font-size: 1rem;
}

.container input:focus {
    border-color: #0077B5;
}

.container button {
    width: 100%;
    height: 48px;
    padding: 0 1rem;
    background: #0077B5;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container button:hover {
    background: #005582;
}

.error {
    color: #d93025;
    margin-bottom: 1.5rem; 
    font-weight: bold;
    background-color: #f8d7da; 
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    padding: 0.75rem;
}

.form-link {
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

.form-link p {
    margin-bottom: 0.5rem;
}

.form-link a {
    color: #0077B5;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: bold;
}

.form-link a:hover {
    color: #005582;
}

.success-message {
    color: #155724;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    padding: 0.75rem;
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.input-group {
    position: relative;
}

.container .input-group input {
    padding-right: 3rem; 
}

.toggle-password {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 1.2rem;
    color: #555;
    user-select: none;
}

.google-btn {
    background-color: #0077B5;
    color: white;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 1rem;
    text-decoration: none;
    padding: 0 1rem;
    height: 48px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    transition: background 0.3s;
    width: 100%;
    box-sizing: border-box;
}

.google-btn:hover {
    background-color: #005582;
}

.google-btn svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.linkedin-btn {
    background-color: #0077B5;
    color: white;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 1rem;
    text-decoration: none;
    padding: 0 1rem;
    height: 48px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    transition: background 0.3s;
    width: 100%;
    box-sizing: border-box;
}

.linkedin-btn:hover {
    background-color: #005582;
}

.google-btn img, .linkedin-btn svg {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    margin-right: 8px;
}

.linkedin-btn svg {
    fill: white;
}