/* RoadTracking - "Delete my account" pages (Help, DeleteMyAccount, DeleteAccount,
   ConfirmDeleteAccount, AccountDeleted). Builds on Login.css. */

/* Support page: compact row under the contact form */
.account-row {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.account-row-label {
    color: #cbd5e1;
    font-size: 14px;
}
.account-delete-link,
.account-delete-link:visited {
    min-height: 44px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid rgba(248, 113, 113, 0.55);
    color: #fca5a5;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}
.account-delete-link:hover,
.account-delete-link:focus {
    color: #fecaca;
    background: rgba(248, 113, 113, 0.10);
    text-decoration: none;
}

/* Confirm page */
.account-back,
.account-back:visited {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #93c5fd;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 8px;
}
.account-back:hover { color: #bfdbfe; text-decoration: none; }
.account-back svg { width: 16px; height: 16px; }

.account-heading {
    margin: 0 0 8px;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 700;
    color: #ffffff;
}
.account-lead {
    margin: 0 0 18px;
    font-size: 15px;
    line-height: 1.5;
    color: #cbd5e1;
}
.account-lead strong { color: #ffffff; }

.account-card {
    margin-bottom: 18px;
    padding: 16px 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(148, 163, 184, 0.18);
}
.account-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}
.account-list li {
    position: relative;
    padding-left: 16px;
    font-size: 14px;
    line-height: 1.45;
    color: #e5edf7;
}
.account-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 3px;
    background: #fca5a5;
}
.account-list li.is-info::before { background: #93c5fd; }
.account-list a { color: #93c5fd; }

.account-check {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    min-height: 44px;
    margin: 0 0 18px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;
    color: #e5edf7;
    cursor: pointer;
}
.account-check input[type=checkbox] {
    width: 20px;
    height: 20px;
    margin: 1px 0 0;
    flex-shrink: 0;
    accent-color: #dc2626;
}

.account-actions {
    display: grid;
    gap: 10px;
}
.login-button.account-button-danger {
    background: #dc2626;
    box-shadow: 0 10px 24px rgba(220, 38, 38, 0.30);
}
.login-button.account-button-danger:hover {
    box-shadow: 0 14px 28px rgba(220, 38, 38, 0.38);
}
.login-button.account-button-danger:disabled {
    background: rgba(220, 38, 38, 0.30);
    color: rgba(255, 255, 255, 0.70);
    box-shadow: none;
    transform: none;
    cursor: not-allowed;
}
.account-button-secondary,
.account-button-secondary:visited {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.30);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
}
.account-button-secondary:hover { background: rgba(255, 255, 255, 0.06); color: #ffffff; text-decoration: none; }

.account-message {
    margin: 0 0 18px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    background-color: rgba(239, 68, 68, 0.14);
    border: 1px solid rgba(239, 68, 68, 0.32);
    color: #fca5a5;
}
.account-message.is-ok {
    background-color: rgba(34, 197, 94, 0.12);
    border-color: rgba(134, 239, 172, 0.35);
    color: #bbf7d0;
}

/* Done page */
.account-done {
    text-align: center;
}
.account-done-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
    border-radius: 28px;
    background: rgba(34, 197, 94, 0.14);
    border: 1px solid rgba(134, 239, 172, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
}
.account-done-icon svg { width: 26px; height: 26px; }
.account-muted {
    margin: 0 0 24px;
    font-size: 14px;
    line-height: 1.5;
    color: #9ca3af;
}
.account-muted a { color: #93c5fd; }

/* Public page */
.account-section {
    margin-bottom: 22px;
    padding: 20px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(148, 163, 184, 0.18);
}
.account-section.is-plain {
    padding: 0;
    background: none;
    border: 0;
}
.account-section h2 {
    margin: 0 0 14px;
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
}
.account-section p {
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.5;
    color: #cbd5e1;
}
.account-section a { color: #93c5fd; }
.account-steps {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
    counter-reset: step;
}
.account-steps li {
    position: relative;
    padding-left: 38px;
    min-height: 26px;
    font-size: 14px;
    line-height: 1.45;
    color: #e5edf7;
    counter-increment: step;
}
.account-steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: -2px;
    width: 26px;
    height: 26px;
    border-radius: 13px;
    background: rgba(37, 99, 235, 0.25);
    color: #bfdbfe;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.account-steps strong { color: #ffffff; }
.account-foot {
    margin: 8px 0 0;
    padding-top: 14px;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    font-size: 13px;
    color: #9ca3af;
}
.account-foot a { color: #93c5fd; }

/* A link styled as the blue login button */
a.login-button.account-button-link,
a.login-button.account-button-link:visited {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    color: #ffffff;
    text-decoration: none;
}
