/* Basic styling for the checker tool */
.raj-webpage-checker-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 25px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    font-family: Arial, sans-serif;
    color: #333;
}

.raj-webpage-checker-container h2 {
    text-align: center;
    color: #0073aa;
    margin-bottom: 20px;
    font-size: 2em;
}

.raj-webpage-checker-container p {
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.1em;
}

#raj-webpage-checker-form {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

#checker-url {
    flex-grow: 1;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1em;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
}

#check-button {
    padding: 12px 25px;
    background-color: #0073aa;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

#check-button:hover {
    background-color: #005177;
}

#check-button:disabled {
    background-color: #a0a0a0;
    cursor: not-allowed;
}

#checker-loading {
    text-align: center;
    margin-top: 20px;
    font-style: italic;
    color: #666;
}

/* Simple Spinner */
.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #0073aa;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


.checker-report-section {
    border: 1px solid #f0f0f0;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    background-color: #fcfcfc;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.checker-report-section h4 {
    margin-top: 0;
    color: #0073aa;
    font-size: 1.5em;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.checker-report-section ul {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}

.checker-report-section ul li {
    margin-bottom: 10px;
    line-height: 1.5;
    background-color: #fdfdfd;
    padding: 10px 15px;
    border-radius: 5px;
    border-left: 4px solid #ddd;
}

.checker-report-section ul li strong {
    color: #555;
    font-size: 1.1em;
}

.checker-report-section ul li .value {
    margin-top: 5px;
    margin-bottom: 5px;
    font-style: italic;
    color: #444;
}

.checker-report-section ul li .note {
    font-size: 0.9em;
    color: #777;
    margin-top: 5px;
    margin-bottom: 0;
}

.status-found, .status-good, .status-secure {
    color: #28a745; /* Green */
    font-weight: bold;
}

.status-missing, .status-warning, .status-insecure {
    color: #ffc107; /* Orange/Yellow */
    font-weight: bold;
}

.status-critical, .status-error {
    color: #dc3545; /* Red */
    font-weight: bold;
}

.heading-list, .missing-alt-images {
    list-style-type: disc;
    padding-left: 25px;
    margin-top: 8px;
    margin-bottom: 0;
    font-size: 0.95em;
    color: #666;
}

.heading-list li, .missing-alt-images li {
    background-color: transparent;
    border-left: none;
    padding: 2px 0;
}

#checker-error {
    background-color: #ffe6e6;
    border: 1px solid #ff0000;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    text-align: center;
    font-weight: bold;
}

/* Md Chhafrul Alam Khan (RAJ): Add this to your existing style.css */

.summary-section {
    background-color: #e9f5ff; /* Light blue background for summary */
    border-color: #a0d9ff;
    padding: 25px;
    margin-bottom: 30px;
}

.summary-section h4 {
    color: #004a75; /* Darker blue for summary heading */
    font-size: 1.8em;
    text-align: center;
    border-bottom: 2px solid #a0d9ff;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.summary-section ul {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
    display: grid; /* Use grid for potentially better layout */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Two columns on larger screens */
    gap: 15px;
}

.summary-section ul li {
    background-color: #ffffff;
    border: 1px solid #cceeff;
    border-left: 5px solid #0073aa; /* Accent border */
    padding: 12px 18px;
    border-radius: 6px;
    font-size: 1.05em;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.summary-section ul li strong {
    color: #333;
}


/* Md Chhafrul Alam Khan (RAJ): Summary Section: Ensure these are in your style.css */

.checker-report-section {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.checker-report-section h4 {
    color: #333;
    font-size: 1.5em;
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.checker-report-section ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.checker-report-section ul li {
    margin-bottom: 15px;
    line-height: 1.6;
    border-bottom: 1px dashed #eee;
    padding-bottom: 10px;
}

.checker-report-section ul li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.checker-report-section ul li strong {
    color: #0073aa; /* WordPress blue */
    font-size: 1.1em;
}

.checker-report-section .value {
    margin: 5px 0 0 0;
    padding-left: 15px;
    font-family: monospace; /* Good for code/text values */
    background-color: #f9f9f9;
    border-left: 3px solid #eee;
    padding: 8px;
    word-wrap: break-word; /* Ensure long URLs/text wrap */
}

.checker-report-section .note {
    font-size: 0.9em;
    color: #666;
    margin: 5px 0 0 0;
    padding-left: 15px;
}

.status-good {
    color: #28a745; /* Green */
    font-weight: bold;
}

.status-warning {
    color: #ffc107; /* Orange/Yellow */
    font-weight: bold;
}

.status-missing {
    color: #dc3545; /* Red */
    font-weight: bold;
}

.status-found { /* Neutral found status */
    color: #0073aa; /* WordPress blue */
    font-weight: bold;
}

.status-checked { /* For items that are just "checked" without good/bad */
    color: #6c757d; /* Grey */
    font-weight: bold;
}

.heading-list, .missing-alt-images {
    list-style-type: disc;
    padding-left: 30px;
    margin-top: 5px;
    margin-bottom: 10px;
    font-size: 0.95em;
}
.heading-list li, .missing-alt-images li {
    margin-bottom: 5px;
    padding-bottom: 0;
    border-bottom: none;
}

/* Summary Section specific styles (already provided, just ensuring they're here) */
.summary-section {
    background-color: #e9f5ff; /* Light blue background for summary */
    border-color: #a0d9ff;
    padding: 25px;
    margin-bottom: 30px;
}

.summary-section h4 {
    color: #004a75; /* Darker blue for summary heading */
    font-size: 1.8em;
    text-align: center;
    border-bottom: 2px solid #a0d9ff;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.summary-section ul {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
    display: grid; /* Use grid for potentially better layout */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Two columns on larger screens */
    gap: 15px;
}

.summary-section ul li {
    background-color: #ffffff;
    border: 1px solid #cceeff;
    border-left: 5px solid #0073aa; /* Accent border */
    padding: 12px 18px;
    border-radius: 6px;
    font-size: 1.05em;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.summary-section ul li strong {
    color: #333;
}



/* Md Chhafrul Alam Khan: sub list : Add this to your existing style.css file, preferably at the end */

/* Styling for nested lists within detailed sections */
.sub-list {
    list-style-type: disc; /* Use bullets for sub-lists */
    padding-left: 30px;
    margin-top: 5px;
    margin-bottom: 10px;
    font-size: 0.95em;
    background-color: #fcfcfc; /* Slightly different background for nested info */
    border-radius: 4px;
    padding: 10px 15px;
    border: 1px dashed #eee;
}

.sub-list li {
    margin-bottom: 5px;
    padding-bottom: 0;
    border-bottom: none; /* No border for individual sub-list items */
}

.sub-list li code {
    background-color: #f0f0f0;
    padding: 2px 4px;
    border-radius: 3px;
    font-size: 0.9em;
}