html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

/*body {
  margin-bottom: 60px;
}*/


:root {
    --primary: #5db0c4;
    --secondary: #00aa55;
    --dark: #333333;
    --light: #f5f5f5;
    --card-bg: #ffffff;
    --border: #dddddd;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --info: #17a2b8;
    --sidebar-width: 220px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    margin: 0;
    padding: 0;
}

header {
    background-color: var(--primary);
    color: white;
    padding: 1rem 2rem;
    text-align: center;
    position: relative;
}

h1 {
    margin: 0;
    font-size: 1.8rem;
}

.language-toggle {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: white;
    border-radius: 4px;
    padding: 0.3rem 0.6rem;
    font-weight: bold;
    color: var(--primary);
    cursor: pointer;
    text-decoration: none;
}

    .language-toggle:hover {
        background-color: #f0f0f0;
    }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0rem;
}

.admin-header {
    /*height: 50px;*/
    background-color: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    padding: 0 20px;
    justify-content: space-between;
  /*  margin-bottom:10px; */
}

.admin-logo {
    font-weight: bold;
    font-size: 18px;
    margin-top:10px;
}

.admin-user {
    display: flex;
    align-items: center;
}

.admin-avatar {
    width: 30px;
    height: 30px;
    background-color: white;
    border-radius: 50%;
    margin-right: 10px;
}

.admin-layout {
    display: flex;
    min-height: calc(100vh - 150px);
}

.admin-sidebar {
    width: var(--sidebar-width);
    background-color: #8EB8B8;
    color: white;
    padding: 20px 0;
    height: 100%;
}

.admin-content {
    flex: 1;
    padding: 20px;
    overflow: auto;
    background-color: #f5f7fa;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .sidebar-menu li {
        padding: 5px;
        cursor: pointer;
       /* margin-bottom: 5px;*/
    }

        .sidebar-menu li a {
            color: white;
            text-decoration: none;
            display: block;
            width: 100%;
        }

        .sidebar-menu li.active {
            background-color: rgba(255,255,255,0.1);
            border-left: 3px solid var(--primary);
        }

        .sidebar-menu li:hover {
            background-color: rgba(255,255,255,0.05);
        }

.card {
    background-color: white;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    overflow: hidden;
}

.card-header {
    padding: 15px;
    border-bottom: 1px solid #eee;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-body {
    padding: 15px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 10px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

th {
    background-color: #f9f9f9;
    font-weight: bold;
}

tr:hover {
    background-color: #f5f5f5;
}

.badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.badge-success {
    background-color: var(--success);
    color: white;
}

.badge-warning {
    background-color: var(--warning);
    color: white;
}

.badge-danger {
    background-color: var(--danger);
    color: white;
}

.badge-info {
    background-color: var(--info);
    color: white;
}

.form-label {
    display: block;
    margin-bottom: 5px;
}

.form-control {
    width: 100%; /* Ensures the input spans the full width of its container */
    max-width: 400px; /* Optional: Limits the maximum width of the input */
    padding: 8px; /* Adjust padding for smaller height */
    font-size: 0.9rem; /* Slightly smaller font size */
    border: 1px solid #ddd; /* Keeps the border consistent */
    border-radius: 4px; /* Rounded corners */
}

.btn {
    display: inline-block;
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
}

.btn-success {
    background-color: var(--success);
    color: white;
}

.btn-danger {
    background-color: var(--danger);
    color: white;
}

.btn-sm {
    padding: 5px 10px;
    font-size: 12px;
}

.filter-bar {
    display: flex;
    margin-bottom: 20px;
    align-items: center;
}

    .filter-bar .form-control {
        max-width: 200px;
        margin-right: 10px;
    }

footer {
    text-align: center;
    padding: 2rem;
    background-color: var(--dark);
    color: white;
    margin-top: 3rem;
}

.form-2-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

    .form-2-column .form-actions {
        grid-column: span 2;
        text-align: right;
    }

.text-danger {
    color: var(--danger); /* Red color for validation messages */
    font-size: 0.875rem; /* Slightly smaller font size */
    margin-top: 0.25rem; /* Space between the input and the message */
    display: block; /* Ensures the message takes up its own line */
}


.form-control.is-invalid {
    border-color: var(--danger); /* Red border for invalid input fields */
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25); /* Optional red shadow */
}
.header-container {
    display: flex;
    justify-content: space-between; /* Aligns h2 to the left and button to the right */
    align-items: center; /* Vertically aligns the h2 and button */
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

/* Login Page Styles */
.login-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 20px;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.login-logo img {
    max-width: 150px;
    margin-bottom: 20px;
}

.login-header h2 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: var(--primary);
}

.login-form .form-group {
    margin-bottom: 15px;
    text-align: left;
}

    .login-form .form-group label {
        font-weight: bold;
        margin-bottom: 5px;
        display: block;
    }

.login-form .form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.login-form .form-actions {
    margin-top: 20px;
    text-align: center;
}

.login-form .btn-primary {
    background-color: var(--primary);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
}

    .login-form .btn-primary:hover {
        background-color: #0056b3;
    }

.login-form .btn-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
}

    .login-form .btn-link:hover {
        text-decoration: underline;
    }

.alert {
    margin-bottom: 20px;
    padding: 10px;
    border-radius: 4px;
    font-size: 0.9rem;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
.sidebar-menu li a {
    display: flex;
    align-items: center;
  /*  justify-content: space-between;*/
}

    .sidebar-menu li a i {
        font-size: 1rem;
    }

.sidebar-menu li ul {
    padding-left: 1rem;
}

/* -------------- Scheduling --------------------- */
.schedule-container {
    display: grid;
    grid-template-rows: auto repeat(9, 60px);
    border: 1px solid #ccc;
    width: fit-content;
    margin: 20px auto;
}


.cell {
    border: 1px solid #ddd;
    padding: 5px;
    position: relative;
    cursor: pointer;
    background-color: white;
}

.header {
    background: #f0f0f0;
    font-weight: bold;
    text-align: center;
    cursor: default;
}

.slot {
    background: #90caf9;
    border: 1px solid #1976d2;
    padding: 4px;
    border-radius: 4px;
    position: relative;
    z-index: 1;
    cursor: move;
}

/* Available and booked styling */
.available {
    background-color: #e0f7e9; /* light green */
}

.booked {
    background-color: #f8d7da; /* light red */
}

/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
  
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.modal-schedule-content {
    background: white;
    padding: 20px;
    margin: 10% auto;
    width: 300px;
    border-radius: 8px;
}

.modal input, .modal button {
    display: block;
    width: 100%;
    margin: 10px 0;
}

.close-btn {
    background: red;
    color: white;
    border: none;
}

.status-label {
    display: inline-block;
    padding: 0.3em 1em;
    border-radius: 6px;
    color: #fff;
    font-weight: bold;
    font-size: 1em;
}

.status-active {
    background-color: #22b573;
}

.status-overtime {
    background-color: #ffb81c;
    color: #fff;
}

.status-inactive {
    background-color: #bdbdbd;
}


.status-label {
    display: inline-block;
    padding: 0.3em 1em;
    border-radius: 6px;
    color: #fff;
    font-weight: bold;
    font-size: 0.75em;
}

.status-unresolved {
    background-color: #d32f2f;
}

.status-inprogress {
    background-color: #E9D502;
}

.status-resolved {
    background-color: seagreen;
}

.stat-box {
    background: #f8f9fa;
    border-radius: 0.5rem;
    padding: 1rem 0.5rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-icon {
    margin-bottom: 0.5rem;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.95rem;
    color: #6c757d;
}
#ulDogProfile {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}



