/* Wrapper to ensure padding and structure */
.rsc-wrapper {
    width: 100%;
    padding: 0;
    box-sizing: border-box;
}

/* Basic form structure (minimal styling) */
.rsc-form label {
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.rsc-form input[type="email"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.rsc-form button {
    width: 100%;
    background-color: #0073aa;
    color: white;
    padding: 10px;
    font-size: 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.rsc-form button:hover {
    background-color: #005a87;
}

/* Table responsive wrapper */
.rsc-result-table {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 20px;
    -webkit-overflow-scrolling: touch;
}

/* Table styling */
.rsc-result-table table {
    width: 100%;
    min-width: 600px; /* Ensures scroll on mobile */
    border-collapse: collapse;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Table header & cell styles */
.rsc-result-table th,
.rsc-result-table td {
    text-align: left;
    padding: 15px;
    border-bottom: 1px solid #eee;
    vertical-align: top;
}

.rsc-result-table th {
    background-color: #f9f9f9;
    font-weight: bold;
    color: #333;
}

/* Status badges */
.rsc-status {
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 5px;
    display: inline-block;
    white-space: nowrap;
}

.rsc-status.approved {
    background-color: #d4edda;
    color: #155724;
}

.rsc-status.pending {
    background-color: #fff3cd;
    color: #856404;
}

.rsc-status.rejected {
    background-color: #f8d7da;
    color: #721c24;
}

.rsc-status.notfound {
    background-color: #e2e3e5;
    color: #383d41;
}

/* Button links inside table */
.rsc-button {
    display: inline-block;
    margin-top: 5px;
    background: #28a745;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
}

.rsc-button:hover {
    background: #218838;
}
