/* Add these styles at the beginning of the file */
header, footer {
    width: 100%;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
    position: relative;
}

header {
    background-color: #fc0;
}

footer {
    background-color: #333;
}

/* Ensure the main container doesn't cause horizontal scroll */
body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

/* Main Content Styles */
.main-content {
    width: 100%;
    max-width: 980px;
    padding: 40px 20px;
    margin: 0 auto;
    background-color: #fff;
    min-height: calc(100vh - 200px);
    box-sizing: border-box;
}

.page-title {
    font-family: 'Segoe UI', sans-serif;
    font-size: 40px;
    color: #1a1a1a;
    margin-bottom: 30px;
    font-weight: 900;
}

/* Tool Container Styles */
.container {
    max-width: 980px;
    margin: 0 auto 40px;
    padding: 30px;
    background: linear-gradient(90deg, #fc0 0%, #fc0 48%, #ffe57f 70%, #fff0b2);
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border: 2px solid #ffffff;
}

/* Content Container Styles */
.content-wrapper {
    max-width: 980px;
    margin: 0 auto;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e6e6e6;
}

.content-section {
    color: #333;
}

.intro-text {
    margin-bottom: 30px;
    line-height: 1.6;
}

.intro-text p {
    margin-bottom: 15px;
}

/* Section Styles */
section {
    margin-bottom: 40px;
}

section p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #444;
}

/* List Styles */
section ol, section ul {
    margin: 15px 0;
    padding-left: 20px;
}

section li {
    margin-bottom: 10px;
    line-height: 1.5;
    color: #444;
}

/* Check Method Styles */
.check-method {
    padding: 20px;
    padding-bottom: 0;
    padding-left: 0;
    border-radius: 8px;
}

.check-method h3 {
    color: #333;
    margin-top: 0;
    margin-top: 14px;
}
.article-content ol > li     a {
    border-bottom: 1px dotted #154ab3 !important;
    text-decoration: none !important;   
}
.article-content p a{
    border-bottom: 1px dotted #154ab3 !important;
    text-decoration: none !important;   
}
/* Table Styles */
.payment-schedule {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.payment-schedule th, .payment-schedule td {
    padding: 12px 15px;
    text-align: left;
    border: 1px solid #e0e0e0;
}

.payment-schedule th {
    background: #f8f9fa;
    color: #333;
    font-weight: 600;
}

.payment-schedule tr:nth-child(even) {
    background: #f8f9fa;
}

/* FAQ Styles */
.faq-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

/* Status Explanation Styles */
.status-explanation h3 {
    color: #333;
    padding-bottom: 8px;
    margin-top: 25px;
}

/* Payment Methods Styles */
.payment-methods {
    margin-top: 20px;
}

/* Form Styles */
.form-container {
    font-family: 'Arial', sans-serif;
    color: #333;
    font-weight: 500;
    padding: 20px;
    border-radius: 10px;
}

.input-group {
    margin-bottom: 15px;
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.input-group input {
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #ddd;
    font-size: 16px;
    color: #666;
}

.input-group input::placeholder {
    color: #999;
    font-size: 14px;
}

/* Checkbox Styles */
.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
}

.checkbox-group label {
    font-size: 14px;
    font-weight: 600;
}

/* Button Styles */
.btn {
    display: inline-block;
    background-color: #333;
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #555;
}

.btn-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

/* Saved Numbers Styles */
.saved-numbers-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.saved-number {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #d0e7ff;
    padding: 10px 15px;
    border-radius: 20px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.saved-number-text {
    flex-grow: 1;
    color: #1e5a9b;
    text-decoration: none;
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
}

.saved-number-text i {
    margin-right: 8px;
}

.remove-number {
    font-size: 16px;
    color: #555;
    cursor: pointer;
    transition: color 0.3s ease;
    margin-left: 10px;
    display: flex;
    align-items: center;
    background: none;
    border: none;
    padding: 5px;
}

.remove-number:hover {
    color: #000;
}

/* Status Card Styles */
.status-card {
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.status-card:hover {
    transform: scale(1.02);
}

.status-approved {
    background-color: #e6ffe6;
    color: #2b8a3e;
    border-left: 5px solid #2b8a3e;
}

.status-declined {
    background-color: #ffe6e6;
    color: #d9534f;
    border-left: 5px solid #d9534f;
}

.status-pending {
    background-color: #f9f7f7;
    color: #626262;
    border-left: 5px solid #000000;
}

.status-card h4 {
    margin: 0;
    font-size: 1.2em;
    font-weight: bold;
}

.status-card p {
    margin: 5px 0 0;
    font-size: 1em;
}

.filed-date {
    font-size: 0.9em;
    color: #666;
    margin-top: 5px;
    font-style: italic;
}

/* Loading Spinner */
.spinner {
    border: 8px solid #f3f4f6;
    border-top: 8px solid #333;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Error Message */
.error-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 10px;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    margin: 15px 0;
    text-align: center;
    font-size: 1em;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Loading Message */
.loading-message {
    margin-top: 10px;
    font-size: 14px;
    color: #333;
}

.dots {
    display: inline-block;
    width: 20px;
    text-align: left;
}

@keyframes blink {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

.dots::after {
    content: '';
    animation: blink 1.5s infinite step-start;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .container, .content-wrapper {
        padding: 12px;
        margin: 8px;
    }
    
    .content-wrapper {
        margin-top: 40px;
    }
    
    .main-content {
        padding: 20px 12px;
    }
    
    .article-content p {
        font-size: 15px;
        line-height: 1.5;
    }
    
    .container {
        margin-bottom: 15px;
    }

    .page-title {
        font-size: 24px;
        margin-bottom: 15px;
        padding: 0 8px;
    }

    .btn-container {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
        margin-bottom: 8px;
        padding: 10px 20px;
        font-size: 15px;
    }

    .status-card {
        padding: 10px;
    }

    .status-card h4 {
        font-size: 1em;
    }

    .status-card p {
        font-size: 0.85em;
    }

    .content-wrapper h2 {
        font-size: 22px;
        margin: 25px 0 15px;
    }

    .content-wrapper h3 {
        font-size: 18px;
        margin: 20px 0 12px;
    }

    .check-method {
        padding: 12px;
    }

    .payment-schedule th, .payment-schedule td {
        padding: 6px 8px;
        font-size: 13px;
    }

    .faq-item {
        padding: 10px;
        margin-bottom: 15px;
    }
    
    .input-group input {
        padding: 10px;
        font-size: 15px;
    }
    
    .saved-number-text {
        font-size: 14px;
    }

    .form-container {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .container, .content-wrapper {
        padding: 10px;
        margin: 6px;
    }
    
    .content-wrapper {
        margin-top: 40px;
    }
    
    .main-content {
        padding: 15px 10px;
    }

    .content-wrapper h2 {
        font-size: 20px;
        margin: 20px 0 12px;
    }

    .content-wrapper h3 {
        font-size: 16px;
        margin: 15px 0 10px;
    }
    
    .page-title {
        font-size: 22px;
        margin-bottom: 12px;
        padding: 0 6px;
    }
    
    .article-content p {
        font-size: 14px;
        line-height: 1.4;
    }
    
    .btn {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .payment-schedule th, .payment-schedule td {
        padding: 5px 6px;
        font-size: 12px;
    }
    
    .input-group input {
        padding: 8px;
        font-size: 14px;
    }
    
    .saved-number-text {
        font-size: 13px;
    }

    .form-container {
        padding: 12px;
    }
}

.status-item {
    display: flex;
    align-items: center;
}
.status-icon {
    height: 1.2em;
    width: 1.2em;
    margin-top: 4px;
    margin-right: 4px;
}
.status-item svg {
    height: 1.2em;
    width: 1.2em;
}