* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Times New Roman', 'Playfair Display', serif;
}

body {
    background-color: #f8f9fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.navbar {
    background-color: #ffffff;
    padding: 1rem 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(90deg,#FFD700, #FF3B3B, #FF8C00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

/* Password toggle styles - UPDATED */
.password-container {
    position: relative;
    width: 100%;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    padding: 5px;
    z-index: 2;
}

.password-toggle:hover {
    color: #50C9CE;
}

/* Make sure the password input has extra padding for the eye icon */
.input-container .password-container .form-input {
    padding-right: 50px !important;
}

.nav-menu {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
    color: #2E382E;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-link:hover {
    color: #50C9CE;
    background-color: rgba(80, 201, 206, 0.1);
}

.nav-login .login-btn {
    background-color: #CFF3F5;
    color: Black;
    text-decoration: none;
    padding: 0.50rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.nav-login .login-btn:hover {
    background-color: #45a8ac;
}

.form-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem 2rem;
    max-width: 550px;
    margin: 0 auto;
    text-align: center;
    width: 100%;
}

.form-title {
    color: #2E382E;
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    text-shadow: 0 0 1px #2E382E, 0 0 1px #2E382E;
}

.form-subtitle {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    opacity: 0.8;
}

.input-container {
    width: 100%;
    background: #e9fdff;
    border-radius: 15px;
    padding: 0;
    margin-bottom: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 2px solid #e9ecef;
}

.form-input {
    width: 100%;
    padding: 1.4rem 1.8rem;
    border: none;
    border-bottom: 2px solid #f1f3f4;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    background-color: transparent;
}

.form-input:focus {
    outline: none;
    background-color: #CFF3F5;
    border-bottom-color: #50C9CE;
}

/* Remove border from the password container since it's inside input-container */
.password-container .form-input {
    border-bottom: 2px solid #f1f3f4;
}

.form-input:last-of-type {
    border-bottom: none;
}

.input-container .form-input:first-of-type {
    border-radius: 15px 15px 0 0;
}

.input-container .form-input:last-of-type {
    border-radius: 0 0 15px 15px;
}

/* Specific styling for password input which is inside password-container */
.password-container .form-input:last-of-type {
    border-radius: 0 0 15px 15px;
    border-bottom: none;
}

.form-input::placeholder {
    color: #6c757d;
    font-weight: 500;
    font-size: 1rem;
}

.signup-btn {
    width: 100%;
    padding: 1rem;
    background-color: #50C9CE;
    color: black;
    border: none;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(80, 201, 206, 0.3);
}

.signup-btn:hover {
    background-color: #45a8ac;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(80, 201, 206, 0.4);
}

.login-link {
    text-align: center;
}

.login-link p {
    color: #666;
    font-size: 1.1rem;
}

.login-link a {
    color: #50C9CE;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    font-size: 1.1rem;
}

.login-link a:hover {
    color: #45a8ac;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }
    
    .nav-container {
        flex-direction: column;
        gap: 1rem;
        max-width: 100%;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .nav-link {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
    
    .form-content {
        padding: 2rem 1.5rem;
        max-width: 90%;
    }
    
    .form-title {
        font-size: 2.2rem;
    }
    
    .form-subtitle {
        font-size: 1rem;
    }
    
    .form-input {
        padding: 1.2rem 1.5rem;
    }
    
    .input-container {
        border-radius: 12px;
    }
}

@media (max-width: 480px) {
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .form-content {
        padding: 1.5rem 1rem;
        max-width: 95%;
    }
    
    .form-title {
        font-size: 1.8rem;
    }
    
    .form-subtitle {
        font-size: 0.95rem;
    }
    
    .input-container {
        margin-bottom: 2rem;
        border-radius: 10px;
    }
    
    .form-input {
        padding: 1rem 1.2rem;
        font-size: 1rem;
    }
    
    .input-container .form-input:first-of-type {
        border-radius: 10px 10px 0 0;
    }
    
    .password-container .form-input:last-of-type {
        border-radius: 0 0 10px 10px;
    }
    
    .signup-btn {
        padding: 1.2rem;
        font-size: 1.1rem;
        border-radius: 10px;
    }
    
    .login-link p,
    .login-link a {
        font-size: 1rem;
    }
}
/* Add these animations to UserRegis.css */

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Apply staggered animations to form elements */
.form-content {
    opacity: 0;
    animation: slideInFromRight 0.8s ease-out 0.3s both;
}

.form-title {
    opacity: 0;
    animation: slideInFromRight 0.6s ease-out 0.5s both;
}

.form-subtitle {
    opacity: 0;
    animation: slideInFromRight 0.6s ease-out 0.7s both;
}

.input-container {
    opacity: 0;
    animation: slideInFromRight 0.6s ease-out 0.9s both;
}

.signup-btn {
    opacity: 0;
    animation: slideInFromRight 0.6s ease-out 1.1s both;
}

.login-link {
    opacity: 0;
    animation: slideInFromRight 0.6s ease-out 1.3s both;
}

/* Navbar slide-in */
.navbar {
    opacity: 0;
    animation: slideInFromRight 0.8s ease-out 0.1s both;
}