/* Custom styles for TravelSplit */

:root {
    --primary-color: #007bff;
    --primary-dark: #0056b3;
    --success-color: #28a745;
    --info-color: #17a2b8;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
}

/* Enhanced Image Styles */
.feature-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    margin-bottom: 0.25rem;
    transition: transform 0.3s ease;
}


/* Hero Images */
.hero-profile-image {
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: brightness(1.05) contrast(1.1);
}

.hero-profile-image:hover {
    transform: scale(1.02);
    filter: brightness(1.1) contrast(1.15);
}

/* Image Loading States */
.img-loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: inherit;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Responsive Image Improvements */
@media (max-width: 768px) {
    .feature-image {
        width: 60px;
        height: 60px;
    }
    
    .hero-profile-image {
        max-width: 250px !important;
    }
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f6fa;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.hero-section {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border-radius: 15px;
    margin-bottom: 2rem;
    padding: 3rem 2rem;
}

.hero-section .display-4 {
    color: white;
}

.hero-section .lead {
    color: rgba(255, 255, 255, 0.9);
}

.card {
    border: none !important;
    border-radius: 15px !important;
    transition: transform 0.2s ease-in-out;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

/* Cards will get z-index applied via JavaScript when dropdown is open */

.card:hover {
    /* No shadow changes on hover */
}

.trip-card {
    height: 100%;
}

.trip-card .card-header {
    border-bottom: 1px solid #e9ecef;
    border-radius: 15px 15px 0 0 !important;
    background-color: #f8f9fa !important;
}

.card-header {
    border-radius: 15px 15px 0 0 !important;
    background-color: #f8f9fa !important;
    border-bottom: 1px solid #e9ecef !important;
}

/* Settings page header matches main navbar theme */
.settings-header {
    background-color: var(--primary-color) !important;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%) !important;
    color: white !important;
    border-bottom: 1px solid var(--primary-dark) !important;
}

.card-body {
    border-radius: 0 0 15px 15px !important;
}

.card-footer {
    border-radius: 0 0 15px 15px !important;
    background-color: transparent !important;
    border-top: 1px solid #e9ecef !important;
}

.feature-icon {
    margin-bottom: 0.5rem;
}

.stat-item {
    text-align: center;
}

.quick-stats-item {
    align-items: center;
    min-width: 0;
}

.quick-stats-item .text-muted {
    white-space: nowrap;
    margin-right: 10px;
}

.quick-stats-item .fw-bold {
    text-align: right;
    min-width: 80px;
    white-space: nowrap;
    margin-left: auto;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
}

.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.empty-state {
    padding: 3rem 1rem;
}

.btn {
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s ease-in-out;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(45deg, var(--primary-dark), var(--primary-color));
}

.table {
    border-radius: 0;
    overflow: hidden;
}

.table thead th {
    background-color: var(--light-color);
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.breadcrumb {
    background: none;
    padding: 0;
    margin-bottom: 1rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    font-weight: bold;
}

.alert {
    border: none;
    border-radius: 10px;
    border-left: 4px solid;
}

.alert-success {
    border-left-color: var(--success-color);
}

.alert-danger {
    border-left-color: var(--danger-color);
}

.alert-info {
    border-left-color: var(--info-color);
}

.participant-row {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-control, .form-select {
    border-radius: 8px;
    border: 1px solid #ced4da;
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.badge {
    border-radius: 6px;
    font-weight: 500;
}

.dropdown-menu {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 999999 !important;
    position: absolute !important;
    min-width: auto !important;
    width: max-content !important;
}

/* Ensure dropdown parent has proper positioning */
.dropdown {
    position: relative !important;
    z-index: 100 !important;
}

/* When dropdown is open, increase parent z-index */
.dropdown.show {
    z-index: 999998 !important;
}

.dropdown-item:hover {
    background-color: var(--light-color);
}

/* Footer positioning and spacing fixes */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
}

/* Ensure footer reaches the bottom edge without white space */
footer {
    margin-bottom: 0 !important;
}

/* For index page footer - ensure no bottom margin/padding */
footer[style*="linear-gradient"] {
    margin-bottom: 0 !important;
    padding-bottom: 0.4rem !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 1.5rem;
    }
    
    .hero-section .display-4 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
    
    .card-body .row .col-6 {
        margin-bottom: 1rem;
    }
    
    .btn-group .btn {
        font-size: 0.875rem;
        padding: 0.375rem 0.75rem;
    }
    
    /* Footer responsive adjustments */
    footer[style*="linear-gradient"] {
        padding-bottom: 1rem !important;
    }
    
    footer[style*="linear-gradient"] .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Auto-hiding scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
}

/* Show scrollbar on hover or when scrolling */
*:hover {
    scrollbar-color: #c1c1c1 #f1f1f1;
}

/* WebKit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

/* Show scrollbar on hover */
*:hover::-webkit-scrollbar-track {
    background: #f1f1f1;
}

*:hover::-webkit-scrollbar-thumb {
    background: #c1c1c1;
}

::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

/* Show scrollbar when actively scrolling */
.scrolling {
    scrollbar-color: #c1c1c1 #f1f1f1;
}

.scrolling::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.scrolling::-webkit-scrollbar-thumb {
    background: #c1c1c1;
}

/* For containers that need scrollbars visible (like dropdowns) */
.always-show-scrollbar {
    scrollbar-color: #c1c1c1 #f1f1f1;
}

.always-show-scrollbar::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.always-show-scrollbar::-webkit-scrollbar-thumb {
    background: #c1c1c1;
}

/* Excel-like Table Styling */
.expenses-table {
    font-size: 0.9rem;
    border-radius: 0 !important;
    overflow: visible !important;
}

/* Ensure table container doesn't clip dropdowns */
.table-responsive {
    overflow: visible !important;
}

.expenses-table th {
    background-color: #2c3e50 !important;
    color: white !important;
    font-weight: 600;
    text-align: center;
    vertical-align: middle;
    border: 1px solid #34495e !important;
    border-radius: 0 !important;
}

.expenses-table td {
    padding: 0.25rem !important;
    border: 1px solid #dee2e6 !important;
    vertical-align: top;
    word-wrap: break-word;
    white-space: normal;
}

.expenses-table td:nth-child(2) textarea {
    white-space: pre-wrap !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
}

.expenses-table input,
.expenses-table select,
.expenses-table textarea {
    border: none !important;
    background: transparent !important;
    padding: 0.25rem 0.5rem !important;
    font-size: 0.85rem;
    width: 100% !important;
}

.expenses-table .amount-input {
    text-align: right !important;
}

.expenses-table th:nth-child(4) {
    text-align: center !important;
}

.expenses-table th:nth-child(5) {
    text-align: center !important;
}

.expenses-table td:nth-child(4) {
    text-align: center !important;
}

.expenses-table td:nth-child(4) select {
    text-align: center !important;
    text-align-last: center !important;
    width: 70px !important;
    max-width: 70px !important;
    min-width: 70px !important;
}

.expenses-table td:nth-child(8) {
    text-align: center !important;
}

/* Date column optimization */
.expenses-table td:nth-child(1) {
    padding: 0.15rem !important;
}

.expenses-table td:nth-child(1) input[type="date"] {
    padding: 0.15rem 0.3rem !important;
}

/* Remove number input spinners */
.expenses-table input[type="number"]::-webkit-outer-spin-button,
.expenses-table input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.expenses-table input[type="number"] {
    -moz-appearance: textfield;
}

/* Description and people column text handling */
.expenses-table textarea[name="description"] {
    white-space: pre-wrap !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    resize: none !important;
    min-height: 32px !important;
    line-height: 1.4 !important;
    height: 32px;
    overflow: hidden !important;
    transition: height 0.1s ease;
    vertical-align: top !important;
    font-family: inherit !important;
}

.expenses-table td:nth-child(2) {
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    max-width: 200px;
    height: auto;
    vertical-align: top !important;
}

.people-display {
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    max-width: 270px;
    line-height: 1.3;
}

.people-chip {
    display: inline-block;
    margin-right: 4px;
    margin-bottom: 2px;
    white-space: nowrap;
}

.people-cell {
    position: relative;
}

.expenses-table input:focus,
.expenses-table select:focus,
.expenses-table textarea:focus {
    background: #fff3cd !important;
    box-shadow: inset 0 0 0 2px #007bff !important;
}

.expenses-table tbody tr:hover {
    background-color: rgba(0, 123, 255, 0.05) !important;
}

.expenses-table tbody tr:nth-child(even) {
    background-color: rgba(248, 249, 250, 0.8);
}

.summary-card {
    border-left: 4px solid #007bff;
}

.person-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    border-radius: 6px;
    margin-bottom: 0.25rem;
    background: rgba(0, 123, 255, 0.05);
}

.keyboard-shortcuts {
    font-size: 0.8rem;
    color: #6c757d;
}

.sticky-header {
    position: sticky;
    top: 0;
    z-index: 10;
}

/* Ensure people dropdown appears above sticky headers */
.people-cell.dropdown-open {
    z-index: 999999999 !important;
    position: relative !important;
}

/* Inline Trip Editing */
.editable-trip-info [contenteditable="true"] {
    border: none;
    background: transparent;
    outline: none;
    transition: all 0.2s ease;
    border-radius: 4px;
    padding: 2px 4px;
    min-width: 200px;
    display: inline-block;
}

.editable-trip-info [contenteditable="true"]:hover {
    background-color: rgba(0, 123, 255, 0.05);
    cursor: text;
}

.editable-trip-info [contenteditable="true"]:focus {
    background-color: rgba(0, 123, 255, 0.1);
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
    cursor: text;
}

.editable-trip-info [contenteditable="true"]:empty:before {
    content: attr(data-placeholder);
    color: #6c757d;
    font-style: italic;
}

.editable-trip-info .fa-edit {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.editable-trip-info:hover .fa-edit {
    opacity: 0.5;
}

.trip-info-saved {
    background-color: rgba(40, 167, 69, 0.1) !important;
    animation: fadeGreen 1s ease-out;
}

@keyframes fadeGreen {
    0% { background-color: rgba(40, 167, 69, 0.3); }
    100% { background-color: rgba(40, 167, 69, 0.1); }
}

/* Fixed Buttons Layout */
.fixed-buttons {
    white-space: nowrap;
    flex-shrink: 0;
}

.fixed-buttons .btn {
    min-width: auto;
    white-space: nowrap;
}

/* People Management */
.people-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.people-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.5rem;
    background-color: #007bff;
    color: white;
    border-radius: 15px;
    font-size: 0.85rem;
    animation: fadeIn 0.3s ease;
}

.people-tag .remove-person {
    margin-left: 0.5rem;
    background: none;
    border: none;
    color: white;
    font-size: 0.8rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.people-tag .remove-person:hover {
    opacity: 0.7;
}

/* Currency Management */
.currency-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.currency-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.5rem;
    background-color: #28a745;
    color: white;
    border-radius: 15px;
    font-size: 0.85rem;
    animation: fadeIn 0.3s ease;
}

.currency-tag .remove-currency {
    margin-left: 0.5rem;
    background: none;
    border: none;
    color: white;
    font-size: 0.8rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.currency-tag .remove-currency:hover {
    opacity: 0.7;
}

/* Draggable Rows */
.draggable-row {
    transition: all 0.2s ease;
}

.draggable-row:hover {
    background-color: rgba(0, 123, 255, 0.05) !important;
}

.draggable-row.dragging {
    opacity: 0.5;
    transform: rotate(2deg);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-color: rgba(0, 123, 255, 0.1) !important;
}

.drag-handle {
    cursor: grab !important;
    user-select: none;
}

.drag-handle:active {
    cursor: grabbing !important;
}

.drag-over {
    border-top: 3px solid #007bff !important;
}

.drop-zone {
    background-color: rgba(0, 123, 255, 0.1) !important;
    border: 2px dashed #007bff !important;
}

/* People Cell Styling */
.people-cell {
    position: relative !important;
    min-height: 35px;
    cursor: pointer;
    z-index: 1 !important;
}

.people-display {
    padding: 6px 8px;
    border: 1px solid transparent;
    border-radius: 4px;
    min-height: 33px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    transition: all 0.2s ease;
}

.people-display:hover {
    background-color: rgba(0, 123, 255, 0.05);
    border-color: rgba(0, 123, 255, 0.25);
}

.people-placeholder {
    color: #6c757d;
    font-style: italic;
    font-size: 0.85rem;
}

.people-chip {
    display: inline-flex;
    align-items: center;
    padding: 2px 6px;
    background-color: #e9ecef;
    border-radius: 12px;
    font-size: 0.8rem;
    margin-right: 2px;
    transition: all 0.2s ease;
}

.people-chip:hover {
    background-color: #dc3545;
    color: white;
}

.people-chip .remove-person-chip {
    margin-left: 4px;
    font-size: 0.7rem;
    opacity: 0;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.people-chip:hover .remove-person-chip {
    opacity: 1;
}

.people-dropdown {
    position: fixed !important;
    z-index: 999999999 !important;
    background: white !important;
    border: 1px solid #ced4da !important;
    border-radius: 4px !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3) !important;
    max-height: 200px !important;
    min-width: 200px !important;
    width: max-content !important;
    overflow: visible !important;
}

.people-dropdown.dropdown-up {
    /* Fixed positioning is handled by JavaScript */
}

.people-dropdown .people-checkbox-list {
    max-height: 200px;
    overflow-y: auto;
    padding: 8px;
}

.people-dropdown .people-list-item {
    display: block;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-size: 0.9rem;
    user-select: none;
}

.people-dropdown .people-list-item:hover {
    background-color: rgba(0, 123, 255, 0.1);
    color: #0056b3;
}

.people-dropdown .people-list-item:active {
    background-color: rgba(0, 123, 255, 0.2);
}


/* Add Row Button */
#addRow {
    transition: all 0.3s ease;
    border-radius: 0;
    width: 100%;
    padding: 12px;
    border: none;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

#addRow:hover {
    background-color: #0056b3;
}

/* Responsive fixes */
@media (max-width: 768px) {
    .fixed-buttons {
        text-align: center !important;
        margin-top: 1rem;
    }
    
    .fixed-buttons .btn {
        margin-bottom: 0.5rem;
        display: block;
        width: 100%;
    }
}

/* User Navigation Styling */
.profile-pic {
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: border-color 0.2s ease;
}

.navbar-nav .dropdown-toggle .user-name {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    vertical-align: middle;
}

.navbar-nav .dropdown-toggle:hover .profile-pic {
    border-color: rgba(255, 255, 255, 0.6);
}

/* Ensure user icon is properly sized */
.navbar-nav .fa-user-circle {
    color: rgba(255, 255, 255, 0.9);
}

/* User Dropdown Menu Width Matching */
.navbar-nav .dropdown {
    position: relative;
}

.navbar-nav .dropdown .dropdown-menu {
    min-width: 180px !important;
    width: 100% !important;
    left: auto !important;
    right: 0 !important;
    transform: none !important;
}

/* Google Sign-in Button Styling */
.google-signin-btn {
    background-color: white !important;
    border: 2px solid #dadce0 !important;
    color: #3c4043 !important;
    font-weight: 500 !important;
    border-radius: 50px !important;
    padding: 12px 24px !important;
    display: inline-flex !important;
    align-items: center !important;
    text-decoration: none !important;
    transition: all 0.2s ease-in-out !important;
}

.google-signin-btn:hover {
    background-color: #f8f9fa !important;
    border-color: #c1c7cd !important;
    color: #3c4043 !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
}

.google-logo {
    width: 20px !important;
    height: 20px !important;
}

/* Custom Modal Styling */
.modal-content {
    border-radius: 15px !important;
    border: none !important;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2) !important;
}

/* Remove all shadows */
.shadow, .shadow-sm, .shadow-lg {
    box-shadow: none !important;
}

.shadow:hover, .shadow-sm:hover, .shadow-lg:hover {
    box-shadow: none !important;
}

/* Ensure all rounded elements have proper overflow handling */
.rounded, .rounded-lg, .rounded-xl {
    overflow: hidden;
}

.modal-header .btn-close {
    opacity: 0.7;
}

.modal-header .btn-close:hover {
    opacity: 1;
}

.modal-footer .btn {
    border-radius: 8px;
    font-weight: 600;
    padding: 8px 20px;
    transition: all 0.2s ease-in-out;
}

.modal-footer .btn-danger {
    background: linear-gradient(45deg, var(--danger-color), #c82333);
    border: none;
}

.modal-footer .btn-danger:hover {
    background: linear-gradient(45deg, #c82333, var(--danger-color));
}

.modal-footer .btn-outline-secondary:hover {
    /* No transform to prevent movement */
}

/* Detailed Expense Summary Styles */
.summary-table .toggle-details {
    border-radius: 15px;
    width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    border: 2px solid #007bff;
    background-color: rgba(0, 123, 255, 0.05);
    color: #007bff;
    font-weight: 600;
}

.summary-table .toggle-details:hover {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

.summary-table .toggle-details i {
    transition: transform 0.2s ease;
}

.detail-row {
    border-top: none !important;
}

.expense-details {
    border-radius: 8px;
    border: 1px solid #e9ecef;
    margin: 8px;
    animation: slideDown 0.3s ease-out;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.expense-details .table {
    margin-bottom: 0;
}

.expense-details .table td {
    padding: 8px 12px;
    border: none;
    border-bottom: 1px solid #f8f9fa;
}

.expense-details .table tr:last-child td {
    border-bottom: none;
}

.expense-details .table tr:hover {
    background-color: rgba(0, 123, 255, 0.03);
}

.expense-details h6 {
    color: #495057;
    font-weight: 600;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 8px;
    margin-bottom: 0;
}

.expense-details .badge {
    font-size: 0.7rem;
    padding: 3px 8px;
}

/* Responsive design for expense details */
@media (max-width: 768px) {
    .expense-details .table {
        font-size: 0.8rem;
    }
    
    .expense-details .table td {
        padding: 6px 8px;
    }
    
    .expense-details h6 {
        font-size: 0.9rem;
    }
}

/* Lock/Edit Mode Styles */
.table-locked {
    /* Removed background color change to keep original appearance */
}

.table-locked input:disabled,
.table-locked textarea:disabled,
.table-locked select:disabled {
    cursor: not-allowed;
    /* Removed background and opacity changes to keep original appearance */
}

.lock-indicator {
    display: inline-flex;
    align-items: center;
    font-size: 0.875rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

.lock-indicator.locked {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.lock-indicator.unlocked {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.btn-lock {
    transition: all 0.2s ease-in-out;
}

.btn-lock:hover {
    transform: translateY(-1px);
}

/* Disabled button styling for locked mode */
.table-locked .btn:disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* Disabled people cell styling for locked mode */
.people-cell-disabled {
    /* Removed background color change to keep original appearance */
}

.people-cell-disabled .people-display {
    cursor: not-allowed !important;
}

/* Lock button specific styling */
#toggleLockBtn {
    transition: all 0.3s ease;
    border-width: 2px;
}

#toggleLockBtn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Status text styling */
#lockStatus {
    font-weight: 500;
    transition: color 0.3s ease;
}