/* Terms of Service Styles */
.terms-of-service-container {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);

    h1 {
        color: #2c3e50;
        border-bottom: 3px solid #3498db;
        padding-bottom: 10px;
        margin-bottom: 30px;
        font-size: 2.5em;
    }

    h2 {
        color: #2c3e50;
        margin-top: 40px;
        margin-bottom: 20px;
        border-bottom: 1px solid #e0e0e0;
        padding-bottom: 10px;
        font-size: 1.8em;
    }

    h3 {
        color: #34495e;
        margin-top: 25px;
        margin-bottom: 15px;
        font-size: 1.3em;
    }

    h4 {
        color: #34495e;
        margin-top: 20px;
        margin-bottom: 10px;
        font-size: 1.1em;
    }

    p {
        margin-bottom: 15px;
    }

    ul,
    ol {
        margin-bottom: 15px;
        padding-left: 30px;
    }

    li {
        margin-bottom: 8px;
    }

    a {
        color: #3498db;
        text-decoration: none;

        &:hover {
            text-decoration: underline;
        }
    }

    strong {
        color: #2c3e50;
    }

    .effective-date {
        background-color: #ecf0f1;
        padding: 15px;
        border-left: 4px solid #3498db;
        margin-bottom: 30px;
        font-weight: 600;
    }

    .contact-info {
        background-color: #f8f9fa;
        padding: 20px;
        border-radius: 5px;
        margin-top: 30px;
    }

    .important-notice {
        background-color: #fff3cd;
        padding: 15px;
        border-left: 4px solid #ffc107;
        margin: 20px 0;
    }

    .critical-notice {
        background-color: #f8d7da;
        padding: 15px;
        border-left: 4px solid #dc3545;
        margin: 20px 0;
    }

    .info-box {
        background-color: #d1ecf1;
        padding: 15px;
        border-left: 4px solid #0c5460;
        margin: 20px 0;
    }

    .section {
        margin-bottom: 30px;
    }

    .footer-section {
        margin-top: 40px;
        padding-top: 20px;
        border-top: 2px solid #e0e0e0;
    }

    .footer-text {
        text-align: center;
        color: #7f8c8d;
        font-size: 14px;
    }

    .plan-name {
        font-weight: 600;
        color: #2c3e50;
    }

    .plan-price {
        font-weight: 600;
        color: #27ae60;
    }

    table {
        width: 100%;
        border-collapse: collapse;
        margin: 20px 0;

        th {
            background-color: #3498db;
            color: white;
            padding: 12px;
            text-align: left;
            font-weight: 600;
        }

        td {
            padding: 10px 12px;
            border-bottom: 1px solid #e0e0e0;
        }

        tr:nth-child(even) {
            background-color: #f8f9fa;
        }

        tr:hover {
            background-color: #e9ecef;
        }
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .terms-of-service-container {
        padding: 20px;

        h1 {
            font-size: 2em;
        }

        h2 {
            font-size: 1.5em;
        }

        h3 {
            font-size: 1.2em;
        }

        table {
            font-size: 14px;

            th,
            td {
                padding: 8px;
            }
        }
    }
}
