/* ===== AUTH PAGES ===== */
.edn-auth-wrap {
    max-width: 520px;
    margin: 40px auto;
    padding: 0 20px 60px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.edn-auth-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #eee;
    overflow: hidden;
}

/* ===== HEADER ===== */
.edn-auth-header {
    background: linear-gradient(135deg, #00BFA6 0%, #00a896 100%);
    padding: 40px;
    text-align: center;
    color: #fff;
}

.edn-auth-logo {
    width: 72px;
    height: 72px;
    background: rgba(255,255,255,0.2);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.edn-auth-logo svg {
    color: #fff;
}

.edn-auth-header h1 {
    margin: 0 0 6px;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.edn-auth-header p {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
    font-weight: 500;
}

/* ===== ERRORS ===== */
.edn-auth-errors {
    margin: 0;
    padding: 16px 20px;
    background: #fff5f5;
    border-bottom: 1px solid #fed7d7;
}

.edn-auth-error {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #c53030;
    padding: 4px 0;
}

.edn-auth-error svg {
    color: #c53030;
    flex-shrink: 0;
}

.edn-auth-error a {
    color: #00BFA6;
}

/* ===== FORM ===== */
.edn-auth-form {
    padding: 32px;
}

.edn-field-group {
    margin-bottom: 20px;
}

.edn-field-group label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.edn-forgot {
    font-size: 12px;
    font-weight: 600;
    color: #00BFA6;
    text-decoration: none;
}

.edn-forgot:hover {
    text-decoration: underline;
}

.edn-field-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.edn-field-wrap > svg:first-child {
    position: absolute;
    left: 14px;
    color: #aaa;
    pointer-events: none;
    flex-shrink: 0;
}

.edn-field-wrap input {
    width: 100%;
    padding: 12px 44px;
    border: 2px solid #e0e0e8;
    border-radius: 10px;
    font-size: 14px;
    font-family: 'Inter', -apple-system, sans-serif;
    font-weight: 500;
    color: #1a1a2e;
    background: #fff;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.edn-field-wrap input:focus {
    outline: none;
    border-color: #00BFA6;
    box-shadow: 0 0 0 3px rgba(0,191,166,0.1);
}

.edn-field-wrap input::placeholder {
    color: #aaa;
    font-weight: 400;
}

.edn-toggle-pw {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
}

.edn-toggle-pw svg {
    color: #aaa;
}

.edn-toggle-pw:hover svg {
    color: #00BFA6;
}

.edn-field-group small {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #888;
    font-weight: 500;
}

/* ===== AUTH BUTTON ===== */
.edn-auth-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #00BFA6 0%, #00a896 100%);
    color: #fff;
    border: none;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0,191,166,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Inter', -apple-system, sans-serif;
    text-decoration: none;
    margin-top: 8px;
}

.edn-auth-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0,191,166,0.35);
}

/* ===== SWITCH LINK ===== */
.edn-auth-switch {
    text-align: center;
    margin: 20px 0 0;
    font-size: 13px;
    color: #888;
    font-weight: 500;
}

.edn-auth-switch a {
    color: #00BFA6;
    font-weight: 700;
    text-decoration: none;
}

.edn-auth-switch a:hover {
    text-decoration: underline;
}

/* ===== VERIFY STATE ===== */
.edn-verify-state {
    padding: 48px 32px;
    text-align: center;
}

.edn-verify-icon {
    width: 96px;
    height: 96px;
    background: linear-gradient(135deg, #e6f9f5 0%, #ccf2ea 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.edn-verify-icon svg {
    color: #00BFA6;
}

.edn-verify-state h2 {
    margin: 0 0 12px;
    font-size: 24px;
    font-weight: 800;
    color: #1a1a2e;
}

.edn-verify-state p {
    margin: 0 0 8px;
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

.edn-verify-sub {
    font-size: 14px !important;
    color: #888 !important;
}

.edn-verify-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 12px 20px;
    background: #f5f5fa;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: #555;
}

.edn-verify-note svg {
    color: #888;
    flex-shrink: 0;
}

.edn-verify-error .edn-verify-icon {
    background: #fff5f5;
}

.edn-verify-error .edn-verify-icon svg {
    color: #c53030;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 480px) {
    .edn-auth-wrap {
        padding: 16px 12px 40px;
    }

    .edn-auth-header {
        padding: 32px 24px;
    }

    .edn-auth-form {
        padding: 24px 20px;
    }

    .edn-auth-header h1 {
        font-size: 22px;
    }

    .edn-verify-state {
        padding: 40px 24px;
    }
}