.auth-btn {
    background: #D384A4;
    color: white;
    border: none;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    box-shadow: 0 2px 8px rgba(211, 132, 164, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.auth-btn:hover {
    background: #C36B8E;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(211, 132, 164, 0.4);
}

.auth-btn:active {
    transform: translateY(0);
}

.login-modal {
    display: none;
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
    overflow-y: auto;
    padding: 20px;
}

.login-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-modal-content {
    background: white;
    padding: 40px;
    border-radius: 16px;
    max-width: 450px;
    width: 100%;
    position: relative;
    animation: slideDown 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.login-modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
}

.login-modal-close:hover {
    color: #333;
}

.login-modal-header {
    margin-bottom: 30px;
    text-align: center;
}

.login-modal-header h2 {
    color: #D384A4;
    font-size: 1.8rem;
    margin: 0 0 10px 0;
}

.login-modal-header p {
    color: #666;
    font-size: 1rem;
    margin: 0;
}

.login-form {
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
    font-family: inherit;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #D384A4;
}

.btn-login-submit {
    width: 100%;
    background: #D384A4;
    color: white;
    border: none;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
}

.btn-login-submit:hover {
    background: #C36B8E;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(211, 132, 164, 0.3);
}

.btn-login-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.login-error {
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 8px;
    font-size: 14px;
    display: none;
}

.login-error.show {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.login-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.login-footer p {
    margin: 0 0 10px 0;
    color: #666;
    font-size: 14px;
}

.register-link {
    color: #D384A4;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s;
}

.register-link:hover {
    color: #C36B8E;
    text-decoration: underline;
}

.spinner-small {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #ffffff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideDown {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 500px) {
    .login-modal-content {
        padding: 30px 25px;
    }
    
    .login-modal-header h2 {
        font-size: 1.5rem;
    }
    
    .auth-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}