﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
    background-color: #f5f5f5;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

/* Custom styles for login page */
.login-box {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    margin-top: 100px;
}

.login-box h2 {
    color: #333;
    margin-bottom: 20px;
}

.btn-primary {
    background-color: #467fcf;
    border-color: #467fcf;
}

.btn-primary:hover {
    background-color: #3567ac;
    border-color: #3567ac;
}

.btn-success {
    background-color: #5eba00;
    border-color: #5eba00;
}

.btn-success:hover {
    background-color: #4e9e00;
    border-color: #4e9e00;
}

/* Icon colors */
.bluetxt {
    color: #467fcf;
}

.bluetxt:hover {
    color: #3567ac;
}

.redtxt {
    color: #dc3545;
}

.greentxt {
    color: #5eba00;
}

.font18 {
    font-size: 18px;
    cursor: pointer;
}

.history-list {
    list-style: none;
    padding: 0;
}

.history-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.history-list li:last-child {
    border-bottom: none;
}

/* Examination History Modal Styles */
#historyModal .modal-header {
    background-color: #467fcf;
    color: white;
    border-bottom: 2px solid #3567ac;
}

#historyModal .modal-title {
    font-weight: 600;
    font-size: 18px;
}

#historyModal .modal-body {
    padding: 20px;
    max-height: 600px;
    overflow-y: auto;
}

#historyModal .table {
    margin-bottom: 0;
}

#historyModal .table-dark {
    background-color: #467fcf;
}

#historyModal .table-dark th {
    border-color: #3567ac;
    color: white;
    font-weight: 600;
    padding: 12px;
}

#historyModal .table-hover tbody tr:hover {
    background-color: #f8f9fa;
    cursor: pointer;
}

#historyModal .badge {
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 500;
}

#historyModal .badge-info {
    background-color: #467fcf;
}

#historyModal .alert {
    margin: 0;
    padding: 15px;
    border-radius: 4px;
}

.table-responsive {
    border-radius: 4px;
}

/* DataTable Styling */
#historyTable {
    width: 100% !important;
}

#historyTable thead th {
    vertical-align: middle;
}

#historyTable tbody td {
    vertical-align: middle;
    padding: 10px;
}

.dataTables_wrapper .dataTables_length {
    margin-bottom: 10px;
}

.dataTables_wrapper .dataTables_filter {
    margin-bottom: 10px;
}

.dataTables_wrapper .dataTables_paginate {
    margin-top: 15px;
}

.dataTables_wrapper .dataTables_info {
    padding-top: 0;
    margin-top: 10px;
    color: #666;
    font-size: 12px;
}

.paginate_button {
    padding: 5px 10px;
    margin: 2px;
    border: 1px solid #ddd;
    border-radius: 3px;
    cursor: pointer;
}

.paginate_button:hover:not(.disabled) {
    background-color: #467fcf;
    color: white;
    border-color: #467fcf;
}

.paginate_button.current {
    background-color: #467fcf;
    color: white;
    border-color: #467fcf;
}




