/* ========================================
   VivoMusic - Auth Pages
   ======================================== */

.vm-auth-container {
    max-width: 420px;
    margin: 3rem auto;
    padding: 2rem;
    background: rgba(10, 20, 10, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(34, 197, 94, 0.12);
    border-radius: 20px;
    position: relative;
    z-index: 1;
}

.vm-auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.vm-auth-logo {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #166534, #22c55e);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    position: relative;
    transform: rotate(45deg);
    box-shadow: 0 0 25px rgba(34, 197, 94, 0.3);
}

.vm-auth-logo-note {
    width: 12px;
    height: 12px;
    border: 2px solid #fff;
    border-radius: 50%;
    position: relative;
    transform: rotate(-45deg);
}

.vm-auth-logo-note::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 10px;
    background: #fff;
    top: 2px;
    right: -4px;
    border-radius: 1px;
}

.vm-auth-title {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 0.4rem;
    font-weight: 700;
}

.vm-auth-subtitle {
    color: #86efac;
    font-size: 0.85rem;
}

/* Form */
.vm-form-group {
    margin-bottom: 1.2rem;
}

.vm-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.vm-form-label {
    display: block;
    color: #86efac;
    margin-bottom: 0.4rem;
    font-size: 0.85rem;
}

.vm-form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 12px;
    color: #fff;
    font-family: 'FarDomrol', sans-serif;
    font-size: 0.9rem;
    transition: all 0.3s;
    outline: none;
}

.vm-form-input:focus {
    border-color: #22c55e;
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.08);
}

.vm-form-input::placeholder {
    color: rgba(134, 239, 172, 0.35);
}

/* Password */
.vm-password-wrap {
    position: relative;
}

.vm-password-toggle {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #86efac;
}

/* Remember */
.vm-form-remember {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.2rem;
}

.vm-checkbox-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.vm-checkbox {
    width: 18px;
    height: 18px;
    accent-color: #22c55e;
    cursor: pointer;
}

.vm-checkbox-label {
    color: #86efac;
    font-size: 0.82rem;
    cursor: pointer;
}

.vm-checkbox-label a {
    color: #22c55e;
    text-decoration: none;
}

.vm-forgot-link {
    color: #22c55e;
    text-decoration: none;
    font-size: 0.82rem;
}

.vm-forgot-link:hover {
    color: #4ade80;
}

/* Submit */
.vm-submit-btn {
    width: 100%;
    padding: 0.85rem;
    background: linear-gradient(135deg, #166534, #22c55e);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-family: 'FarDomrol', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.vm-submit-btn:hover {
    box-shadow: 0 5px 25px rgba(34, 197, 94, 0.4);
    transform: translateY(-1px);
}

/* Footer */
.vm-auth-footer {
    text-align: center;
    margin-top: 1.2rem;
    color: #86efac;
    font-size: 0.85rem;
}

.vm-auth-footer a {
    color: #22c55e;
    text-decoration: none;
    font-weight: 600;
}

.vm-home-link {
    display: block;
    text-align: center;
    margin-top: 0.8rem;
    color: #86efac;
    text-decoration: none;
    font-size: 0.82rem;
}

.vm-home-link:hover {
    color: #22c55e;
}

/* Alerts */
.vm-alert {
    padding: 0.75rem 1rem;
    border-radius: 10px;
    margin-bottom: 1.2rem;
    font-size: 0.82rem;
    line-height: 1.8;
}

.vm-alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}

/* Password strength */
.vm-password-strength {
    margin-top: 0.4rem;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.vm-password-strength-bar {
    height: 100%;
    border-radius: 2px;
    transition: all 0.3s;
    width: 0;
}

@media (max-width: 500px) {
    .vm-auth-container {
        margin: 1rem;
        padding: 1.5rem;
    }
    .vm-form-row {
        grid-template-columns: 1fr;
    }
}