/* General Styles & Variables */
:root {
    --cb-blue: #007bff;
    --cb-red: #dc3545;
    --cb-dark-gray: #343a40;
    --cb-light-gray: #f8f9fa;
    --cb-border-color: #dee2e6;
    --cb-green: #28a745;
    --cb-yellow: #ffc107;
}

/* Frontend Styles */
.cb-report-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    font-family: 'Tahoma', sans-serif;
    direction: rtl;
}

.cb-header {
    text-align: center;
    margin-bottom: 30px;
}

.cb-logo {
    max-width: 250px;
    height: auto;
    margin-bottom: 15px;
}

.cb-header h1 {
    font-size: 28px;
    color: var(--cb-dark-gray);
}

.cb-search-form {
    display: flex;
    margin-bottom: 30px;
}

.cb-search-form input[type="text"] {
    flex-grow: 1;
    padding: 12px 15px;
    border: 2px solid var(--cb-border-color);
    border-radius: 0 5px 5px 0;
    font-size: 16px;
    transition: border-color 0.3s;
}

.cb-search-form input[type="text"]:focus {
    outline: none;
    border-color: var(--cb-blue);
}

.cb-search-form button {
    padding: 12px 25px;
    border: none;
    background-color: var(--cb-blue);
    color: white;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px 0 0 5px;
    transition: background-color 0.3s;
}

.cb-search-form button:hover {
    background-color: #0056b3;
}

.cb-report-card {
    background: #fff;
    border: 1px solid var(--cb-border-color);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    overflow: hidden;
}

.cb-report-header {
    background-color: var(--cb-dark-gray);
    color: white;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.cb-report-header h2 {
    margin: 0;
    font-size: 22px;
}

.cb-report-body {
    padding: 25px;
    display: grid;
    gap: 15px;
}

.cb-report-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}
.cb-report-item:last-child {
    border-bottom: none;
}

.cb-report-item span:first-child {
    font-weight: bold;
    color: #555;
}

.cb-status {
    font-weight: bold;
}
.cb-status-pass {
    color: var(--cb-green);
}
.cb-status-fail {
    color: var(--cb-red);
}

.cb-report-footer {
    padding: 20px;
    background-color: var(--cb-light-gray);
}

.cb-alert {
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    margin-bottom: 20px;
}
.cb-alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
.cb-alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

/* Admin Styles */
.form-table th {
    width: 180px;
}
