.paging a {padding:2px;}

:root {
	--medical-blue: #2c7da0;
	--medical-blue-light: #a9d6e5;
	--medical-gray: #e2e8f0;
}

body {
	background-color: #f8fafc;
}

.container {
	background-color: white;
	border-radius: 10px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	padding: 2rem;
	margin-top: 2rem;
	margin-bottom: 2rem;
}

h1 {
	color: var(--medical-blue);
	font-weight: 700;
	margin-bottom: 5px;
	position: relative;
	padding-bottom: 1rem;
}

h1:after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 100px;
	height: 4px;
	background-color: var(--medical-blue-light);
	border-radius: 2px;
}

.tabber {
	margin-top: 2rem;
}

.tabbertab {
	background-color: white;
	border: 1px solid var(--medical-gray);
	border-radius: 8px;
	padding: 2rem;
	margin-bottom: 8px;
}

.tabbertab h2 {
	color: var(--medical-blue);
	font-size: 1.5rem;
	margin-bottom: 1.5rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid var(--medical-blue-light);
}

.form-control {
	border: 1px solid var(--medical-blue-light);
	
	border-radius: 6px;
	padding: 2px;
	transition: all 0.3s ease;
}

.form-control:focus {
	border-color: var(--medical-blue);
	box-shadow: 0 0 0 3px rgba(44, 125, 160, 0.2);
}

.form-select {
	border: 1px solid var(--medical-blue-light);
	border-radius: 6px;
	padding: 2px;
}

.btn-success {
	background-color: #2c7da0;
	border: none;
	padding: 0.75rem 2rem;
	border-radius: 6px;
	transition: all 0.3s ease;
}

.btn-success:hover {
	background-color: #1d5571;
	transform: translateY(-1px);
}

.btn-warning {
	background-color: #e9ecef;
	border: none;
	color: #495057;
	padding: 0.75rem 2rem;
	border-radius: 6px;
	transition: all 0.3s ease;
}

.btn-warning:hover {
	background-color: #dee2e6;
	color: #212529;
}

.col-md-4.text-center img {
	border-radius: 10px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	max-width: 200px;
	margin-bottom: 1rem;
}

.form-check-input {
	width: 1.2em;
	height: 1.2em;
	margin-right: 0.5em;
	border: 2px solid var(--medical-blue-light);
}

.form-check-input:checked {
	background-color: var(--medical-blue);
	border-color: var(--medical-blue);
}

.form-check-label {
	color: #4a5568;
	font-weight: 500;
}

/* Medical history sections styling */
.form-group {
	margin-bottom: 2px;
	padding: 2px;
	border-radius: 2px;
	background-color: #f8fafc;
	transition: all 0.3s ease;
}

.form-group:hover {
	background-color: #f1f5f9;
}

/* Label styling */
label {
	color: #334155;
	font-weight: 600;
	margin-bottom: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.container {
		padding: 1rem;
	}

	.tabbertab {
		padding: 1rem;
	}

	.btn {
		width: 100%;
		margin-bottom: 0.5rem;
	}
}
/* Tab navigation styling */
.nav-tabs {
    border-bottom: 2px solid var(--medical-blue-light);
    margin-bottom: 2rem;
}

.nav-tabs .nav-link {
    color: #64748b;
    border: none;
    padding: 1rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-tabs .nav-link:hover {
    color: var(--medical-blue);
}

.nav-tabs .nav-link.active {
    color: var(--medical-blue);
    border-bottom: 3px solid var(--medical-blue);
}

.navbar {
    margin: 5px;
    padding: 10px;
    font-size: 18px;
    border-radius: 5px;
    background-color: #007bff; /* Navbar background color */
}

.navbar-brand {
    font-weight: bold;
    color: #ffffff !important;
    font-size: 24px;
}

.nav-link {
    color: #ffffff !important; /* Change link color to white */
    transition: background-color 0.3s, color 0.3s;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 12px;
}

.nav-link:hover {
    background-color: #0056b3; /* Darker blue on hover */
    color: #ffffff !important;
}

.dropdown-menu {
    background-color: #ffffff; /* White background for dropdown */
    color: #333333; /* Dark text for dropdown items */
    transition: background-color 0.3s, color 0.3s;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
    color: #333333; /* Dark text for dropdown items */
    font-size: 12px;
    background-color: transparent; /* Transparent background */
}

.dropdown-item:hover {
    background-color: #007bff; /* Blue background on hover */
    color: #ffffff; /* White text on hover */
}

.navbar-toggler {
    border-color: #f4f7fa; /* White border for toggler */
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30' fill='white'%3E%3Cpath stroke='white' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

h1 {
	font-size: 3rem; /* Responsive font size */
	color: #007bff; /* Medical theme color */
}
.btn {
	width: 150px; /* Make all buttons the same width */
	margin-bottom: 10px; /* Space between buttons */
}
.btn-success {
	background-color: #28a745; /* Green for success */
	border-color: #28a745;
}
.btn-warning {
	background-color: #ffc107; /* Yellow for warning */
	border-color: #ffc107;
}
.btn-dark {
	background-color: #343a40; /* Dark for other actions */
	border-color: #343a40;
}

.error {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 16px;
    font-weight: 900;
    text-align: center;
    color: #ffffff;
    background-color: #e74c3c; /* Red background for errors */
    padding: 10px; /* Padding for error messages */
}

