@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Montserrat', sans-serif;
    background: #F5F5F5;
    overflow: hidden;
}
.auth-container {
    display: flex;
    height: 100vh;
    width: 100%;
}
.auth-left {
    flex: 1;
    background: linear-gradient(135deg, #2C2C2C 0%, #1A1A1A 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
    overflow: hidden;
}
.auth-left::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    top: -100px;
    left: -100px;
}
.auth-left::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -100px;
    right: -100px;
}
.logo-container {
    position: relative;
    z-index: 1;
    text-align: center;
    animation: fadeInScale 1s ease;
}
.brand-logo {
    max-width: 500px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(212, 175, 55, 0.3));
    animation: float 3s ease-in-out infinite;
}
.auth-right {
    flex: 1;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    overflow-y: auto;
}
.auth-form-container {
    max-width: 500px;
    width: 100%;
}
.auth-form {
    animation: fadeInRight 0.5s ease;
}
.auth-header {
    text-align: center;
    margin-bottom: 40px;
}
.auth-header h1 {
    color: #2C2C2C;
    font-size: 2.5em;
    margin-bottom: 10px;
    font-weight: 700;
}
.auth-header p {
    color: #666;
    font-size: 1.1em;
}
form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.form-group label {
    color: #2C2C2C;
    font-weight: 600;
    font-size: 0.95em;
    display: flex;
    align-items: center;
    gap: 8px;
}
.form-group label i {
    color: #D4AF37;
}
.form-group input,
.form-group select {
    padding: 14px 16px;
    border: 2px solid #F4E4C1;
    border-radius: 10px;
    font-size: 1em;
    transition: all 0.3s ease;
    background: white;
    color: #2C2C2C;
}
.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #D4AF37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}
.form-group input::placeholder {
    color: #999;
}
.password-input-wrapper {
    position: relative;
}
.password-input-wrapper input {
    padding-right: 50px;
}
.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 8px;
    transition: all 0.3s ease;
}
.toggle-password:hover {
    color: #D4AF37;
}
.toggle-password i {
    font-size: 1.1em;
}
.btn-auth {
    padding: 16px 30px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin-top: 10px;
}
.btn-login {
    background: linear-gradient(135deg, #D4AF37 0%, #F4E4C1 100%);
    color: #2C2C2C;
}
.btn-signup {
    background: linear-gradient(135deg, #2C2C2C 0%, #1A1A1A 100%);
    color: #D4AF37;
}
.btn-auth:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}
.btn-auth:active {
    transform: translateY(0);
}
.btn-auth:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}
.auth-footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #F4E4C1;
}
.auth-footer p {
    color: #666;
    font-size: 1em;
}
.auth-footer a {
    color: #D4AF37;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}
.auth-footer a:hover {
    color: #2C2C2C;
    text-decoration: underline;
}
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10000;
    min-width: 300px;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.4s ease;
    border: 2px solid #F4E4C1;
}
.notification.show {
    opacity: 1;
    transform: translateX(0);
}
.notification i {
    font-size: 1.5em;
}
.notification.success {
    border-left: 4px solid #4caf50;
}
.notification.success i {
    color: #4caf50;
}
.notification.error {
    border-left: 4px solid #f44336;
}
.notification.error i {
    color: #f44336;
}
.notification.info {
    border-left: 4px solid #D4AF37;
}
.notification.info i {
    color: #D4AF37;
}
.notification-content {
    flex: 1;
}
.notification-title {
    font-weight: 600;
    color: #2C2C2C;
    margin-bottom: 4px;
    font-size: 1em;
}
.notification-message {
    color: #666;
    font-size: 0.9em;
}
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.loading-overlay.show {
    display: flex;
}
.loading-spinner {
    text-align: center;
    color: white;
}
.spinner {
    width: 60px;
    height: 60px;
    border: 6px solid rgba(212, 175, 55, 0.2);
    border-top-color: #D4AF37;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}
.loading-text {
    font-size: 1.2em;
    font-weight: 600;
}
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
@media (max-width: 1024px) {
    .auth-container {
        flex-direction: column;
    }
    .auth-left {
        height: 40vh;
    }
    .brand-logo {
        max-width: 300px;
    }
    .auth-right {
        height: 60vh;
        padding: 30px 20px;
    }
}
@media (max-width: 768px) {
    .auth-left {
        height: 30vh;
        padding: 20px;
    }
    .brand-logo {
        max-width: 250px;
    }
    .auth-right {
        height: 70vh;
        padding: 20px;
    }
    .auth-header h1 {
        font-size: 2em;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .auth-form-container {
        max-width: 100%;
    }
}
@media (max-width: 480px) {
    .auth-left {
        height: 25vh;
    }
    .brand-logo {
        max-width: 200px;
    }
    .auth-header h1 {
        font-size: 1.8em;
    }
    .auth-header p {
        font-size: 1em;
    }
    .btn-auth {
        padding: 14px 25px;
        font-size: 1em;
    }
    .notification {
        min-width: auto;
        width: calc(100% - 40px);
        left: 20px;
        right: 20px;
    }
}
.form-group input.error,
.form-group select.error {
    border-color: #f44336;
}
.form-group input.success,
.form-group select.success {
    border-color: #4caf50;
}
.error-message {
    color: #f44336;
    font-size: 0.85em;
    margin-top: 5px;
    display: none;
}
.error-message.show {
    display: block;
}
.password-input-wrapper {
    position: relative;
    width: 100%;
}
.password-input-wrapper input {
    width: 100%;
    padding-right: 50px !important;
}
.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}
.toggle-password:hover {
    color: #D4AF37;
}
.toggle-password:focus {
    outline: none;
}
.toggle-password i {
    font-size: 1.1em;
    pointer-events: none;
}
input[type="password"],
input[type="text"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.forgot-password-link {
    text-align: right;
    margin-top: 8px;
    margin-bottom: 20px;
}
.forgot-password-link a {
    color: #D4AF37 !important;
    text-decoration: none !important;
    font-size: 0.9em;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
    font-weight: 500;
    border: none;
    background: none;
}
.forgot-password-link a:link,
.forgot-password-link a:visited {
    color: #D4AF37 !important;
    text-decoration: none !important;
}
.forgot-password-link a:hover {
    color: #B8941F !important;
    text-decoration: underline !important;
}
.forgot-password-link a:active {
    color: #9A7A1A !important;
}
.forgot-password-link a i {
    font-size: 0.85em;
    color: inherit;
}