/* ============================================
   HynoJobs — Delete Account Page Styles
   ============================================ */

.delete-wrap {
    max-width: 880px;
    margin: 0 auto;
}

/* ============== INFO CARDS ============== */
.delete-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 36px;
}
.info-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-md);
    padding: 28px 26px;
    box-shadow: var(--shadow-sm);
}
.info-card h3 {
    font-size: 17px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark);
}
.info-card h3 i {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--gradient-1);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.check-list li {
    position: relative;
    padding: 8px 0 8px 28px;
    color: var(--gray-700);
    font-size: 14.5px;
    line-height: 1.6;
    border-bottom: 1px dashed var(--gray-100);
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
    content: '\f00d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 10px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
}
.check-list.red li::before {
    background: rgba(220, 38, 38, 0.12);
    color: #dc2626;
}
.check-list.amber li::before {
    content: '\f071';
    background: rgba(245, 158, 11, 0.12);
    color: #d97706;
    font-size: 9px;
}

/* ============== TIMELINE ============== */
.timeline-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(236, 72, 153, 0.04));
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: var(--radius-md);
    padding: 32px;
    margin-bottom: 40px;
}
.timeline-card h3 {
    font-size: 18px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark);
}
.timeline-card h3 i {
    color: var(--primary);
}
.timeline-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    position: relative;
}
.t-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--white);
    padding: 18px 20px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--gray-100);
}
.t-num {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--gradient-1);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.t-step strong {
    display: block;
    font-size: 14.5px;
    color: var(--dark);
    margin-bottom: 4px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.t-step p {
    color: var(--gray-500);
    font-size: 13px;
    margin: 0;
    line-height: 1.5;
}

/* ============== DELETE FORM ============== */
.delete-form-wrap {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-md);
    margin-bottom: 40px;
}

.form-head {
    margin-bottom: 32px;
    text-align: center;
}
.form-head h2 {
    font-size: 26px;
    margin-bottom: 8px;
}
.form-head p {
    color: var(--gray-500);
    font-size: 15px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}
.delete-form .form-field {
    margin-bottom: 0;
}
.delete-form .form-field:not(:last-of-type) {
    margin-bottom: 20px;
}
.delete-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
}
.delete-form label span {
    color: #dc2626;
}
.delete-form input,
.delete-form select,
.delete-form textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--gray-300);
    border-radius: 10px;
    font-family: inherit;
    font-size: 15px;
    color: var(--dark);
    transition: var(--transition);
    background: var(--white);
}
.delete-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236b7280'%3E%3Cpath d='M12 15.5l-6-6 1.4-1.4L12 12.7l4.6-4.6L18 9.5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px;
    padding-right: 40px;
}
.delete-form textarea {
    resize: vertical;
    min-height: 110px;
}
.delete-form input:focus,
.delete-form select:focus,
.delete-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}
.delete-form .input-error {
    border-color: #dc2626;
}
.delete-form .input-error:focus {
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
}

.err {
    display: block;
    color: #dc2626;
    font-size: 13px;
    margin-top: 6px;
    min-height: 16px;
}

.checkbox-err {
    text-align: center;
    margin: 0 0 16px;
    font-weight: 500;
    min-height: 20px;
}
.checkbox-err:not(:empty) {
    padding: 10px 16px;
    background: rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(220, 38, 38, 0.25);
    border-radius: 10px;
}

/* ============== CHECKBOX ROW ============== */
.checkbox-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 28px 0;
    padding: 24px;
    background: rgba(220, 38, 38, 0.04);
    border: 1px solid rgba(220, 38, 38, 0.15);
    border-radius: var(--radius-md);
}
.check-pill {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14.5px;
    color: var(--gray-700);
    line-height: 1.6;
    margin: 0;
}
.check-pill input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.check-box {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border: 2px solid var(--gray-300);
    border-radius: 6px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    margin-top: 1px;
}
.check-box i {
    font-size: 11px;
    color: var(--white);
    opacity: 0;
    transition: var(--transition);
}
.check-pill input:checked + .check-box {
    background: #dc2626;
    border-color: #dc2626;
}
.check-pill input:checked + .check-box i {
    opacity: 1;
}
.check-pill a {
    color: var(--primary);
    font-weight: 600;
}

/* ============== DANGER BUTTON ============== */
.btn-danger {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: var(--white);
    width: 100%;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.35);
}
.btn-danger:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(220, 38, 38, 0.5);
}

.form-fallback {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
    color: var(--gray-500);
}
.form-fallback a {
    color: var(--primary);
    font-weight: 600;
}
.form-fallback a:hover { text-decoration: underline; }

/* ============== SUCCESS STATE ============== */
.success-card {
    text-align: center;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 56px 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
    margin-bottom: 40px;
}
.success-icon {
    width: 88px;
    height: 88px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981, #059669);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    box-shadow: 0 10px 24px rgba(16, 185, 129, 0.35);
}
.success-card h2 {
    font-size: 26px;
    margin-bottom: 14px;
    color: var(--dark);
}
.success-card p {
    color: var(--gray-700);
    font-size: 16px;
    margin-bottom: 14px;
    line-height: 1.7;
}
.success-meta {
    margin: 24px 0;
    padding: 14px 20px;
    background: var(--gray-50);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--primary);
}

/* ============== ALT METHODS ============== */
.alt-method {
    margin-top: 16px;
}
.alt-method h3 {
    font-size: 18px;
    margin-bottom: 18px;
    text-align: center;
    color: var(--dark);
}
.alt-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.alt-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-md);
    padding: 24px 24px;
    text-align: center;
}
.alt-card > i {
    width: 52px;
    height: 52px;
    margin: 0 auto 14px;
    border-radius: 14px;
    background: var(--gradient-1);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.alt-card h4 {
    font-size: 16px;
    margin-bottom: 8px;
}
.alt-card p {
    color: var(--gray-500);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}
.alt-card a {
    color: var(--primary);
    font-weight: 600;
}

/* ============== RESPONSIVE ============== */
@media (max-width: 768px) {
    .delete-info,
    .alt-grid {
        grid-template-columns: 1fr;
    }
    .timeline-steps {
        grid-template-columns: 1fr;
    }
    .form-grid {
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: 0;
    }
    .form-grid .form-field { margin-bottom: 20px; }
    .delete-form-wrap { padding: 32px 24px; }
    .timeline-card { padding: 24px 20px; }
    .success-card { padding: 40px 24px; }
}

@media (max-width: 480px) {
    .delete-form-wrap { padding: 24px 18px; }
    .checkbox-row { padding: 18px 16px; }
    .info-card { padding: 22px 20px; }
}
