/* =========================================================================
   og / pages / withdraw-consent
   Design matching the DPDP Consent Withdrawal 2-Step Interface
   ========================================================================= */

.og-withdraw-section {
    padding-top: var(--og-space-8, 3rem);
    padding-bottom: var(--og-space-9, 4rem);
    background-color: #f8fafc;
    min-height: 80vh;
}

.og-withdraw-card {
    max-width: 680px;
    margin: 0 auto;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 2.5rem 2rem;
}

@media (max-width: 640px) {
    .og-withdraw-card {
        padding: 1.5rem 1.25rem;
    }
}

/* Shield + Leaf Icon */
.og-withdraw-shield-icon {
    width: 64px;
    height: 64px;
    background-color: #ecfdf5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem auto;
}

.og-withdraw-title {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 1.5rem 0;
}

/* 2-Step Progress Indicator */
.og-withdraw-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.og-step-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.og-step-badge {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #e2e8f0;
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.og-step-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #94a3b8;
    transition: all 0.2s ease;
}

.og-step-item--active .og-step-badge {
    background-color: #168a53;
    color: #ffffff;
}

.og-step-item--active .og-step-label {
    color: #1e293b;
}

.og-step-divider {
    width: 48px;
    height: 2px;
    background-color: #e2e8f0;
    margin: 0 12px;
}

/* Form Controls & Header */
.og-withdraw-field-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.35rem;
}

.og-char-count {
    font-size: 0.8rem;
    color: #94a3b8;
}

/* Blue Box: Consent Details Found */
.og-consent-found-card {
    background-color: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 10px;
    padding: 1rem 1.25rem;
}

.og-consent-found-header {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.og-consent-found-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.og-consent-found-meta {
    flex: 1;
}

.og-consent-found-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0369a1;
    margin: 0;
}

.og-consent-found-desc {
    font-size: 0.8125rem;
    color: #0284c7;
    margin: 2px 0 0 0;
}

.og-consent-found-grid {
    background-color: #ffffff;
    border: 1px solid #e0f2fe;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 0.75rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

@media (max-width: 640px) {
    .og-consent-found-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}

.og-consent-found-col {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.og-consent-found-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
}

.og-consent-found-value {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    color: #0f172a;
    font-weight: 600;
}

.og-badge-active-pill {
    background-color: #dcfce7;
    color: #15803d;
    border: 1px solid rgba(21, 128, 61, 0.2);
    border-radius: 999px;
    padding: 2px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-block;
}

/* Yellow Box: Info Notices (Purpose & Please Note) */
.og-info-notice-card {
    background-color: #fffbeb;
    border: 1px solid #fef3c7;
    border-radius: 10px;
    padding: 1rem 1.25rem;
}

.og-info-notice-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.og-info-notice-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.og-info-notice-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #92400e;
    margin: 0;
}

.og-info-notice-list {
    margin: 6px 0 0 0;
    padding-left: 20px;
    font-size: 0.85rem;
    line-height: 1.5;
    color: #78350f;
}

.og-info-notice-list li + li {
    margin-top: 4px;
}

/* Checkbox Confirmation */
.og-withdraw-confirm-wrap {
    padding-top: 0.5rem;
}

.og-withdraw-confirm-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    color: #334155;
}

/* Action Buttons */
.og-withdraw-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
}

.og-btn-cancel {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #475569;
    border-radius: 6px;
    padding: 10px 22px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.og-btn-cancel:hover {
    background: #f1f5f9;
    color: #1e293b;
    border-color: #94a3b8;
}

.og-btn-submit-green {
    background-color: #168a53;
    border: 1px solid #168a53;
    color: #ffffff;
    border-radius: 6px;
    padding: 10px 24px;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.og-btn-submit-green:hover:not(:disabled) {
    background-color: #127043;
    border-color: #127043;
}

.og-btn-submit-green:disabled {
    background-color: #94a3b8;
    border-color: #94a3b8;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Success Card */
.og-withdraw-success-card {
    text-align: center;
    padding: 2rem 1rem;
}

.og-withdraw-success-icon {
    width: 72px;
    height: 72px;
    background-color: #ecfdf5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.og-withdraw-success-desc {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 480px;
    margin: 0.75rem auto 1.5rem auto;
}
