/* body*/
body{
	padding: 0;
	margin: 0;
}
/* Main Header */
.main-header {
    background: linear-gradient(90deg, #00a99e, #f3682a);
    color: white;
    padding: 15px 20px;
    border-bottom: 3px solid #00897b;
    text-decoration: none;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* Branding */
.header-branding {
    display: flex;
    align-items: center;
    gap: 12px;
}
.header-logo {
    height: 50px;
    width: 50px;
    object-fit: contain;
    border-radius: 6px;
    background: white;
    padding: 4px;
}
.header-branding h1 {
    font-size: 20px;
    margin: 0;
    color: white;
    font-weight: 600;
}

/* Welcome + Logout */
.header-session {
    display: flex;
    align-items: center;
    gap: 10px;
}
.welcome-text {
    font-size: 14px;
    background: rgba(255, 255, 255, 0.15);
    padding: 6px 12px;
    border-radius: 5px;
}

/* Buttons */
.btn-primary {
    background-color: #00a99e !important;
    border: none;
}
.btn-success {
    background-color: #f3682a !important;
    border: none;
}
.btn-info {
    background-color: #00a99e !important; /* Was blue */
    border: none;
}
.btn-secondary {
    background-color: #f3682a !important; /* Was grey */
    border: none;
}
.btn {
    color: white !important;
    padding: 8px 16px;
    font-size: 14px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.btn:hover {
    transform: translateY(-2px);
    opacity: 0.95;
}

/* Navigation */
.main-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Hamburger Menu Button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: white;
    cursor: pointer;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    .main-nav {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-out;
        padding: 0; /* No padding when closed */
        display: flex; /* Keep flex properties */
        flex-direction: column;
        width: 100%;
        background: #00a99e;
        border-radius: 6px;
    }
    .main-nav.open {
        max-height: 500px; /* Adjust as needed */
        padding: 10px 0; /* Add padding back when open */
    }
    .main-nav a {
        width: 100%;
        text-align: center;
        padding: 10px 0;
    }
}
/* Bootstrap-like Container */
.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

/* Breakpoints like Bootstrap */
@media (min-width: 576px) {
    .container { max-width: 540px; }
}
@media (min-width: 768px) {
    .container { max-width: 720px; }
}
@media (min-width: 992px) {
    .container { max-width: 960px; }
}
@media (min-width: 1200px) {
    .container { max-width: 1140px; }
}

/* Bootstrap-like Form Styling */
form {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 6px;
    border: 1px solid #dee2e6;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Form Groups */
.form-group {
    margin-bottom: 1rem;
}

/* Form Labels */
.form-group label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: inline-block;
}

/* Inputs, Selects, Textareas */
.form-group input,
.form-group select,
.form-group textarea {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

/* Focus State */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #00a99e;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0,169,158,0.25);
}

/* Submit Button */
.form-actions {
    margin-top: 1rem;
}
/* Table Wrapper for Responsive Scroll on Mobile */
.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Bootstrap-like Table */
table {
    width: 100%;
    margin-bottom: 1rem;
    background-color: transparent;
    border-collapse: collapse;
}

/* Table Head */
table thead {
    background-color: #00a99e;
    color: #fff;
}

/* Table Head Cells */
table thead th {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 2px solid #ddd;
    font-weight: 600;
}

/* Table Body Cells */
table tbody td {
    padding: 0.75rem;
    border-top: 1px solid #dee2e6;
}

/* Table Row Hover */
table tbody tr:hover {
    background-color: rgba(0, 169, 158, 0.05);
}

/* Striped Rows */
.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.02);
}

/* Bordered Table */
.table-bordered {
    border: 1px solid #dee2e6;
}
.table-bordered th,
.table-bordered td {
    border: 1px solid #dee2e6;
}

/* Table with Orange Header */
.table-orange thead {
    background-color: #f3682a;
    color: #fff;
}

/* Table Buttons inside Cells */
table td .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    border-radius: 4px;
}
.btn {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, 
                background-color 0.15s ease-in-out, 
                border-color 0.15s ease-in-out, 
                box-shadow 0.15s ease-in-out;
}

/* Secondary button with your teal color */
.btn-secondary {
    color: #fff;
    background-color: #00a99e;
    border-color: #00a99e;
}

.btn-secondary:hover {
    color: #fff;
    background-color: #008d84; /* slightly darker teal for hover */
    border-color: #007c74;
}

.btn-secondary:focus, 
.btn-secondary.focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 169, 158, 0.5);
}

.btn-secondary:disabled, 
.btn-secondary.disabled {
    color: #fff;
    background-color: #00a99e;
    border-color: #00a99e;
    opacity: 0.65;
}

/* Optional Orange Variant */
.btn-secondary-orange {
    color: #fff;
    background-color: #f3682a;
    border-color: #f3682a;
}

.btn-secondary-orange:hover {
    background-color: #d65923;
    border-color: #c3501f;
}

.btn-secondary-orange:focus {
    box-shadow: 0 0 0 0.2rem rgba(243, 104, 42, 0.5);
}

a {
    text-decoration: none;
}

a:hover, 
a:focus {
    text-decoration: none; /* Prevent underline on hover/focus */
}
