/**
 * Abhirang Store - Legal Pages
 * Contact Us, Terms, Privacy, FAQ, Policies
 */

/* =============================================================================
   Base Legal Page Layout
   ============================================================================= */

.legal-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
}

.legal-header {
    margin-bottom: 40px;
}

.legal-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.legal-subtitle {
    color: #6b7280;
}

.legal-content {
    line-height: 1.8;
    color: #374151;
}

/* =============================================================================
   Legal Content Sections
   ============================================================================= */

.legal-section {
    margin-bottom: 48px;
}

.legal-section-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #1a1a1a;
}

.legal-text {
    color: #6b7280;
    margin-bottom: 16px;
}

.legal-list {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 16px;
}

.legal-list li {
    margin-bottom: 8px;
    color: #6b7280;
}

/* =============================================================================
   FAQ Cards
   ============================================================================= */

.faq-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 16px;
}

.faq-question {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.faq-answer {
    color: #6b7280;
}

/* =============================================================================
   Policy Cards
   ============================================================================= */

.policy-card {
    background: #f9fafb;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 16px;
}

.policy-card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.policy-highlight {
    background: #f0fdf4;
    border-left: 4px solid #22c55e;
    padding: 16px;
    border-radius: 0 8px 8px 0;
    margin-bottom: 16px;
}

.policy-warning {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    padding: 16px;
    border-radius: 0 8px 8px 0;
    margin-bottom: 16px;
}

/* =============================================================================
   Help Box (Still have questions?)
   ============================================================================= */

.help-box {
    background: #f9fafb;
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    margin-top: 48px;
}

.help-box-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.help-box-text {
    color: #6b7280;
    margin-bottom: 24px;
}

.help-box-btn {
    display: inline-block;
    background: #1a1a1a;
    color: white;
    padding: 14px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
}

.help-box-btn:hover {
    background: #333;
}

/* =============================================================================
   Contact Cards Grid
   ============================================================================= */

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.contact-card {
    background: #f9fafb;
    border-radius: 12px;
    padding: 32px;
    border: 1px solid #e5e7eb;
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    background: #1a1a1a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.contact-card-icon i {
    color: white;
    font-size: 20px;
}

.contact-card-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.contact-card-text {
    color: #6b7280;
    margin-bottom: 12px;
}

.contact-card-link {
    color: #1a1a1a;
    font-weight: 600;
    text-decoration: none;
}

.contact-card-link:hover {
    text-decoration: underline;
}

.contact-card-address {
    color: #1a1a1a;
    font-weight: 600;
    line-height: 1.6;
}

/* =============================================================================
   Contact Form
   ============================================================================= */

.contact-form-container {
    background: #ffffff;
    border-radius: 12px;
    padding: 40px;
    border: 1px solid #e5e7eb;
}

.contact-form-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #1a1a1a;
}

.contact-form {
    display: grid;
    gap: 20px;
}

.contact-form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.contact-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-input:focus {
    outline: none;
    border-color: #1a1a1a;
    box-shadow: 0 0 0 2px rgba(26, 26, 26, 0.1);
}

.contact-textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form-error {
    color: #dc2626;
    font-size: 12px;
    margin-top: 4px;
}

.contact-submit-btn {
    background: #1a1a1a;
    color: white;
    padding: 14px 32px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.contact-submit-btn:hover {
    background: #333;
}

/* =============================================================================
   Messages / Alerts
   ============================================================================= */

.contact-message {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.contact-message-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.contact-message-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* =============================================================================
   Social Links
   ============================================================================= */

.social-section {
    margin-top: 48px;
}

.social-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 44px;
    height: 44px;
    background: #1a1a1a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: transform 0.2s, background 0.2s;
}

.social-link:hover {
    background: #333;
    transform: translateY(-2px);
}

/* =============================================================================
   Responsive
   ============================================================================= */

@media (max-width: 768px) {
    .legal-container {
        padding: 40px 16px;
    }
    
    .legal-title {
        font-size: 28px;
    }
    
    .contact-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-container {
        padding: 24px;
    }
}
