/* Shared card styles */
.alh-mp-card {
    background: #0b1120;
    border: 1px solid #7c3aed;
    border-radius: 18px;
    padding: 24px 22px;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, sans-serif;
    max-width: 480px;
    margin: 20px auto;
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.8);
}

.alh-mp-form {
    display: block;
}

.alh-mp-title {
    margin: 0 0 18px;
    font-size: 22px;
    font-weight: 700;
    color: #a78bfa;
    text-align: left;
}

.alh-mp-field {
    margin-bottom: 14px;
}

.alh-mp-field label {
    display: block;
    font-size: 14px;
    margin-bottom: 6px;
    color: #e5e7eb;
    text-align: left;
}

.alh-mp-field input[type="text"],
.alh-mp-field input[type="email"],
.alh-mp-field input[type="password"],
.alh-mp-field input[type="number"] {
    width: 100%;
    box-sizing: border-box;
    padding: 9px 10px;
    border-radius: 10px;
    border: 1px solid #1f2937;
    background: #020617;
    color: #f9fafb;
    font-size: 14px;
}

.alh-mp-field input:focus {
    outline: none;
    border-color: #7c3aed;
    box-shadow: 0 0 0 1px rgba(124,58,237,0.5);
}

.alh-mp-required {
    color: #f97373;
    margin-left: 4px;
}

.alh-mp-btn {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 10px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    border: none;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
    margin-top: 10px;
}

.alh-mp-logout {
    display: inline-block;
    width: auto;
    margin: 12px auto 0;
    text-align: center;
    padding: 8px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    border: none;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
}

.alh-mp-btn:hover,
.alh-mp-logout:hover {
    filter: brightness(1.1);
}

.alh-mp-alert,
.alh-mp-message {
    background: #b91c1c;
    color: #fef2f2;
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 13px;
    margin-bottom: 10px;
    border: 1px solid #fecaca;
    text-align: center;
}

/* Popup styles */
.alh-mp-popup {
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,0.85);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.alh-mp-popup-inner {
    background: #020617;
    border-radius: 18px;
    border: 1px solid #7c3aed;
    padding: 22px 20px;
    max-width: 520px;
    width: 90%;
    position: relative;
    color: #f9fafb;
}

.alh-mp-popup-close {
    position: absolute;
    top: 10px;
    right: 14px;
    border: none;
    background: transparent;
    color: #9ca3af;
    font-size: 22px;
    cursor: pointer;
}

.alh-mp-popup-title {
    margin: 0 0 10px;
    font-size: 19px;
    font-weight: 600;
    color: #a78bfa;
    text-align: left;
}

.alh-mp-popup-body {
    font-size: 14px;
    line-height: 1.7;
    text-align: left;
}

.alh-mp-popup-body a {
    color: #38bdf8;
    text-decoration: underline;
}


.alh-mp-form-footer {
    margin-top: 10px;
    font-size: 13px;
    text-align: center;
}

.alh-mp-form-footer a {
    color: #a855f7;
    text-decoration: none;
}

.alh-mp-form-footer a:hover {
    text-decoration: underline;
}


/* Logout confirmation card */
.alh-mp-logout-card {
    max-width: 960px;
    margin: 30px auto;
}

.alh-mp-logout-header {
    text-align: left;
    margin-bottom: 16px;
}

.alh-mp-logout-body {
    text-align: left;
}

.alh-mp-logout-question {
    direction: ltr;

    margin-bottom: 18px;
    font-size: 16px;
}

.alh-mp-logout-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.alh-mp-btn-logout {
    min-width: 120px;
}

.alh-mp-btn-secondary {
    min-width: 120px;
    background: transparent;
    border: 1px solid #4b5563;
    color: #e5e7eb !important;
}

.alh-mp-btn-secondary:hover {
    background: rgba(15,23,42,0.8);
}


/* Password field with eye toggle (login form) */
.alh-mp-field-password .alh-mp-pass-input-wrap {
    position: relative;
}

.alh-mp-field-password .alh-mp-pass-input-wrap input {
    padding-right: 52px;
}

.alh-mp-toggle-pass {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    height: 24px;
    width: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    cursor: pointer;
}

.alh-mp-toggle-pass:hover,
.alh-mp-toggle-pass:focus {
    transform: translateY(-50%);
    outline: none;
}

.alh-mp-toggle-pass .alh-mp-toggle-icon {
    font-size: 16px;
    line-height: 1;
    pointer-events: none;
}


/* Success message card */
.alh-mp-success {
    background: #111829;
    border: 1px solid #7c3aed;
    color: #ffffff;
}

.alh-mp-success p {
    color: #e9d5ff;
}
