/* Dashboard container */
.dashboard-container {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 20px;
    padding: 20px;
    height: 100vh;
    background: linear-gradient(135deg, #ffffff, #e8f5ff);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    font-family: 'Arial', sans-serif;
}

/* Sidebar styles */
.dashboard-sidebar {
    background-color: #f9fbfd;
    color: #333;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 0 !important;
}

.dashboard-sidebar h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: #007acc;
}

.dashboard-sidebar label {
    display: block;
    margin: 15px 0 5px;
    font-weight: bold;
    color: #555;
}

.dashboard-sidebar select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #ffffff;
    color: #333;
}

/* Results section */
.dashboard-results {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    margin: 0 !important;
}

.dashboard-results h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: #007acc;
}


.result-item {
    background-color: #f0f9ff;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    color: #007acc;
    font-weight: bold;
}

.result-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-color: #e0f3ff;
}

.no-results {
    color: #999;
    font-style: italic;
    text-align: center;
}

/* Table styles */
.dashboard-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 1rem;
    text-align: left;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dashboard-table thead {
    background-color: #007acc;
    color: #ffffff;
}

/* Set fixed column width and make adjustable */
.dashboard-table th,
.dashboard-table td {
    width: 200px;
    min-width: 200px !important;
    word-wrap: break-word;
    text-overflow: ellipsis;
    overflow: hidden;
}

.dashboard-table th,
.dashboard-table td {
    padding: 12px 15px;
    border: 1px solid #ddd;
}

.dashboard-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.dashboard-table tbody tr:hover {
    background-color: #e0f3ff;
    cursor: pointer;
}

.dashboard-table th {
    font-weight: bold;
}

/* Selected File Box */
#selected_file {
    border: 2px solid red;
    padding: 15px;
    border-radius: 8px;
    background-color: #ffe6e6;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#selected_file p {
    margin: 0;
    font-size: 1rem;
}

#selected_file p#selected_file_name {
    color: #007acc;
    font-style: italic;
    font-weight: bold;
}

/* Selected File Box - Green State */
#selected_file.selected {
    border-color: green;
    background-color: #e6ffe6;
}


form#send_call_to_number_form {
    padding: 20px;
    margin-top: 20px;
    background: #fff;
}

div#selected_file {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

div#selected_file p {
    margin: 0;
}

button#open-media-library,
#send_call_button {
    padding: 10px;
    font-size: 14px;
}

.media-menu-item {
    color: #007acc !important;
}

.date-range-filter {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 20px;
}

/* Pagination container styles */
#pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    gap: 10px;
}

/* Pagination button styles */
.pagination-button {
    padding: 10px 15px;
    border: 1px solid #007acc;
    border-radius: 5px;
    background-color: #ffffff;
    color: #007acc;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
}

.pagination-button:hover {
    background-color: #007acc;
    color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.pagination-button.active {
    background-color: #007acc;
    color: #ffffff;
    pointer-events: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}