/* ==========================================================================
   COMPANY MODULE UNIFIED STYLESHEET
   Location: /app/code/company/v1/frontend/assets/css/company.css
   ========================================================================== */

/* ── 1. General Layout & Headers ─────────────────────────────────────── */
.company-page {
    background: #f8f9fa;
    min-height: 100vh;
    padding: 60px 0;
}

.company-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.company-header {
    text-align: center;
    margin-bottom: 50px;
}

.company-header h1 {
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 15px;
    font-weight: 700;
}

.company-header p {
    font-size: 1.1rem;
    color: #64748b;
}

/* ── 2. Legal & Policy Content Sections ──────────────────────────────── */
.content-section {
    background: #ffffff;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.content-section h2 {
    font-size: 1.8rem;
    color: #1e293b;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
    border-bottom: 2px solid var(--color-company-primary, #6366f1);
    padding-bottom: 10px;
}

.content-section h2:first-of-type {
    margin-top: 0;
}

.content-section h3 {
    font-size: 1.3rem;
    color: #334155;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.content-section p {
    color: #475569;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.content-section ul,
.content-section ol {
    margin: 20px 0;
    padding-left: 30px;
}

.content-section li {
    color: #475569;
    line-height: 1.8;
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.content-section a {
    color: var(--color-company-primary, #6366f1);
    text-decoration: none;
}

.content-section a:hover {
    text-decoration: underline;
}

/* ── 3. Callout Boxes & Table of Contents ────────────────────────────── */
.highlight-box {
    background: #f0f9ff;
    border-left: 4px solid #0ea5e9;
    padding: 20px;
    margin: 30px 0;
    border-radius: 6px;
}

.highlight-box p {
    margin: 0;
    color: #0c4a6e;
}

.note-box {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    padding: 20px;
    margin: 30px 0;
    border-radius: 6px;
}

.note-box p {
    margin: 0;
    color: #78350f;
}

.toc {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 24px 30px;
    margin-bottom: 40px;
}

.toc h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 12px;
}

.toc ol {
    margin: 0;
    padding-left: 20px;
}

.toc li {
    margin-bottom: 6px;
    font-size: 0.95rem;
}

.toc a {
    color: var(--color-company-primary, #6366f1);
    text-decoration: none;
}

.toc a:hover {
    text-decoration: underline;
}

/* ── 3b. Cookie Policy Table ─────────────────────────────────────────── */
.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.cookie-table th {
    background: #f1f5f9;
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    color: #1e293b;
    border: 1px solid #e2e8f0;
    font-size: 0.95rem;
}

.cookie-table td {
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: 0.95rem;
    vertical-align: top;
}

/* ── 3c. Security Grid Components ─────────────────────────────────────── */
.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.security-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 24px;
}

.security-card .icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.security-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px;
}

.security-card p {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

/* ── 3d. Refund Policy Table ─────────────────────────────────────────── */
.refund-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
}

.refund-table th {
    background: #f1f5f9;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: #1e293b;
    border: 1px solid #e2e8f0;
}

.refund-table td {
    padding: 15px;
    border: 1px solid #e2e8f0;
    color: #475569;
}

/* ── 4. Contact Us Page Components ───────────────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.contact-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.contact-card h3 {
    font-size: 1.3rem;
    color: #1e293b;
    margin-bottom: 15px;
    font-weight: 600;
}

.contact-card p {
    color: #64748b;
    margin-bottom: 10px;
    line-height: 1.6;
}

.contact-card a {
    color: var(--color-company-primary, #6366f1);
    text-decoration: none;
    font-weight: 500;
}

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

.contact-form-section {
    background: #ffffff;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 25px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-company-primary, #6366f1);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background: var(--color-company-gradient, linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%));
    color: #ffffff;
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
}

.info-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    padding: 50px;
    border-radius: 12px;
    margin-top: 50px;
    text-align: center;
}

.info-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.info-section p {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.8;
}
