.action-buttons {
    margin-top: 15px;
    text-align: right;
}

/* User management styles */
#usersTable .badge {
    font-size: 0.75rem;
    padding: 0.35em 0.65em;
}

.user-action-buttons {
    display: flex;
    gap: 5px;
}

/* Extra small button class */
.btn-xs {
    padding: 0.25rem 0.4rem;
    font-size: 0.7rem;
    line-height: 1.2;
    border-radius: 0.2rem;
}

.user-action-buttons .btn {
    width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.edit-user-btn:hover, .add-user-btn:hover, .delete-user-btn:hover {
    transform: translateY(-2px);
}

#userFormModal .modal-body {
    min-height: 200px;
}

#userFormModal form .form-group {
    margin-bottom: 1rem;
}

#userFormModal form label {
    font-weight: 500;
}

/* Gig Card Styles */
.gig-card {
    margin-bottom: 1.5rem;
    border-top: none;
    transition: transform 0.2s;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.gig-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.gig-date-header {
    background-color: #007bff;
    color: white;
    padding: 12px 15px;
    border-bottom: none;
}

.date-display {
    display: flex;
    align-items: center;
}

.day-number {
    font-size: 1.3rem;
    font-weight: bold;
    margin-right: 5px;
}

.day-name {
    font-size: 1rem;
    margin-right: 10px;
    text-transform: uppercase;
}

.month-year {
    font-size: 0.9rem;
    opacity: 0.9;
}

.gig-location {
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.gig-time {
    color: #666;
    margin-bottom: 8px;
}

.gig-address {
    color: #666;
    margin-bottom: 8px;
}

.gig-description {
    margin: 10px 0;
    color: #495057;
}

.absent-members {
    margin-top: 10px;
    font-size: 0.9rem;
    background-color: #f8f9fa;
    padding: 8px 12px;
    border-radius: 6px;
}

.absent-list {
    color: #dc3545;
}

.all-present {
    color: #28a745;
}

.status-badge {
    text-transform: uppercase;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.status-confirmed {
    background-color: #28a745;
    color: white;
}

.status-option {
    background-color: #ffc107;
    color: #212529;
}

.status-onhold {
    background-color: #6c757d;
    color: white;
}

/* Profile photo styles */
.profile-photo {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.user-avatar {
    position: relative;
}

.edit-photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0,0,0,0.5);
    padding: 8px;
    opacity: 0;
    transition: opacity 0.3s;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.user-avatar:hover .edit-photo-overlay {
    opacity: 1;
}

.edit-photo-btn {
    width: 100%;
    font-size: 0.85rem;
}

#photoUploadModal .preview-container {
    margin: 15px 0;
    background-color: #f8f9fa;
    padding: 10px;
    border-radius: 5px;
}

/* Vacation user photo styles */
.vacation-user-photo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    display: block;
}

.vacation-user-initials {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #63E6BE;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    border: 2px solid #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.user-profile-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.vacation-user-name {
    font-size: 0.9rem;
    margin-left: 5px;
}

@media (max-width: 767px) {
    .month-heading {
        text-align: center;
        font-size: 1.3rem;
    }
    
    .action-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 5px;
    }
    
    .profile-photo {
        width: 120px;
        height: 120px;
    }
    
    .vacation-user-name {
        display: none;
    }
}
