/* Form Guide Specific Styles */

/* Breadcrumbs */
.breadcrumbs {
    background-color: var(--soft-black);
    padding: 15px 0;
    font-size: 14px;
}

.breadcrumbs a {
    color: var(--teal-bright);
    text-decoration: none;
}

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

.breadcrumbs span {
    color: var(--grey);
    margin: 0 10px;
}

/* Form Hero */
.form-hero {
    padding: 60px 0;
    background-color: var(--soft-black);
}

.form-badge {
    display: inline-block;
    background-color: var(--teal);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    font-family: 'Space Mono', monospace;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.form-hero h1 {
    font-family: 'Space Mono', monospace;
    font-size: 42px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.form-purpose {
    font-size: 20px;
    color: var(--grey);
    margin-bottom: 30px;
    line-height: 1.6;
}

.form-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
    padding: 30px;
    background-color: var(--black);
    border-radius: 8px;
    border-left: 4px solid var(--teal);
}

.meta-item {
    color: var(--grey);
    font-size: 15px;
    line-height: 1.6;
}

.meta-item strong {
    color: var(--white);
    display: block;
    margin-bottom: 5px;
}

.form-actions {
    display: flex;
    gap: 20px;
}

/* Form Guide Section */
.form-guide {
    padding: 60px 0;
}

.form-guide h2 {
    font-family: 'Space Mono', monospace;
    font-size: 36px;
    margin-bottom: 40px;
    text-align: center;
}

.guide-section {
    background-color: var(--soft-black);
    border-radius: 8px;
    padding: 40px;
    margin-bottom: 30px;
    border-left: 4px solid var(--teal);
}

.box-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--grey-dark);
}

.box-number {
    font-family: 'Space Mono', monospace;
    font-size: 18px;
    font-weight: 700;
    color: var(--teal);
    background-color: var(--black);
    padding: 10px 20px;
    border-radius: 6px;
}

.box-label {
    font-family: 'Space Mono', monospace;
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
}

.box-content {
    line-height: 1.8;
}

.box-description {
    font-size: 18px;
    color: var(--grey);
    margin-bottom: 25px;
}

.instruction-block {
    margin-top: 25px;
}

.instruction-block h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 10px;
    margin-top: 25px;
}

.arrow {
    font-size: 17px;
    color: var(--grey);
    padding-left: 20px;
    margin: 10px 0;
}

/* Special Boxes */
.why-box, .how-box, .example-box, .exception-box, .important-box {
    padding: 20px;
    border-radius: 6px;
    margin: 20px 0;
}

.why-box {
    background-color: rgba(21, 109, 125, 0.1);
    border-left: 3px solid var(--teal);
}

.how-box {
    background-color: var(--black);
    border-left: 3px solid var(--teal);
}

.example-box {
    background-color: var(--black);
    border-left: 3px solid var(--teal-bright);
}

.exception-box {
    background-color: rgba(188, 166, 120, 0.1);
    border-left: 3px solid #BCA678;
}

.important-box {
    background-color: rgba(121, 49, 80, 0.1);
    border-left: 3px solid #793150;
}

.why-box strong, .how-box strong, .example-box strong, .exception-box strong, .important-box strong {
    display: block;
    margin-bottom: 10px;
    color: var(--white);
    font-size: 15px;
    letter-spacing: 0.5px;
}

.why-box ul, .how-box ul, .example-box ul {
    margin-top: 10px;
    padding-left: 20px;
}

.why-box li, .how-box li, .example-box li {
    margin-bottom: 8px;
    color: var(--grey);
}

.example-box ul ul {
    margin-top: 5px;
    margin-left: 20px;
}

/* Classification Grid */
.classification-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.classification-item {
    background-color: var(--black);
    padding: 20px;
    border-radius: 6px;
    border: 1px solid var(--grey-dark);
}

.classification-item strong {
    display: block;
    color: var(--teal-bright);
    font-size: 16px;
    margin-bottom: 10px;
}

.classification-item p {
    color: var(--grey);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.example-text {
    font-style: italic;
    color: var(--grey) !important;
    font-size: 13px !important;
}

/* TIN Grid */
.tin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.tin-option {
    background-color: var(--black);
    padding: 25px;
    border-radius: 6px;
    border: 2px solid var(--teal);
}

.tin-option strong {
    display: block;
    color: var(--teal-bright);
    font-size: 17px;
    margin-bottom: 15px;
}

.tin-option ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.tin-option li {
    color: var(--grey);
    margin-bottom: 8px;
}

/* Certification List */
.certification-list {
    padding-left: 25px;
    margin: 15px 0;
}

.certification-list li {
    color: var(--grey);
    margin-bottom: 10px;
    line-height: 1.6;
}

.signature-instructions {
    margin-top: 20px;
    padding: 20px;
    background-color: var(--black);
    border-radius: 6px;
}

.signature-instructions strong {
    display: block;
    color: var(--white);
    margin-bottom: 10px;
}

.signature-instructions ul {
    padding-left: 20px;
}

.signature-instructions li {
    color: var(--grey);
    margin-bottom: 8px;
}

/* Common Mistakes Section */
.common-mistakes {
    padding: 60px 0;
    background-color: var(--soft-black);
}

.common-mistakes h2 {
    font-family: 'Space Mono', monospace;
    font-size: 36px;
    margin-bottom: 40px;
    text-align: center;
}

.mistakes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.mistake-card {
    background-color: var(--black);
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid #793150;
}

.mistake-number {
    display: inline-block;
    background-color: #793150;
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Mono', monospace;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
}

.mistake-card h3 {
    font-size: 18px;
    color: var(--white);
    margin-bottom: 15px;
    line-height: 1.4;
}

.mistake-card p {
    color: var(--grey);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.mistake-card p strong {
    color: var(--white);
    display: block;
    margin-bottom: 5px;
}

/* Related Forms */
.related-forms {
    padding: 60px 0;
}

.related-forms h2 {
    font-family: 'Space Mono', monospace;
    font-size: 36px;
    margin-bottom: 40px;
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.related-card {
    background-color: #BCA678;
    padding: 30px;
    border-radius: 8px;
    text-decoration: none;
    color: #000000;
    transition: all 0.3s;
    border: 2px solid #FFFFFF;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(188, 166, 120, 0.3);
}

.related-number {
    font-family: 'Space Mono', monospace;
    font-size: 14px;
    color: #000000;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.related-card h4 {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 600;
    color: #000000;
}

.related-card p {
    color: #000000;
    font-size: 15px;
    line-height: 1.6;
}

/* Resources Section */
.resources {
    padding: 60px 0;
    background-color: var(--soft-black);
}

.resources h2 {
    font-family: 'Space Mono', monospace;
    font-size: 36px;
    margin-bottom: 40px;
    text-align: center;
}

.resource-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.resource-item h4 {
    font-family: 'Space Mono', monospace;
    font-size: 18px;
    color: var(--teal);
    margin-bottom: 15px;
}

.resource-item ul {
    list-style: none;
}

.resource-item li {
    margin-bottom: 10px;
}

.resource-item a {
    color: var(--grey);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s;
}

.resource-item a:hover {
    color: var(--teal-bright);
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-bright) 100%);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-section h2 {
    font-family: 'Space Mono', monospace;
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--white);
}

.cta-section p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.cta-section .btn-primary {
    background-color: var(--white);
    color: var(--teal);
}

.cta-section .btn-primary:hover {
    background-color: var(--soft-black);
    color: var(--white);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .form-hero h1 {
        font-size: 32px;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions .btn {
        width: 100%;
    }

    .form-meta {
        grid-template-columns: 1fr;
    }

    .guide-section {
        padding: 25px;
    }

    .box-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .classification-grid,
    .tin-grid,
    .mistakes-grid,
    .related-grid,
    .resource-links {
        grid-template-columns: 1fr;
    }

    .form-guide h2,
    .common-mistakes h2,
    .related-forms h2,
    .resources h2,
    .cta-section h2 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .form-badge {
        font-size: 12px;
        padding: 6px 15px;
    }

    .form-hero h1 {
        font-size: 26px;
    }

    .form-purpose {
        font-size: 16px;
    }

    .box-label {
        font-size: 16px;
    }

    .guide-section {
        padding: 20px;
    }
}