/* The Bartenders LLC - Custom Styles */

/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    background-color: #f8f9fa;
}

.text-primary {
    color: #000 !important;
}

.bg-primary {
    background-color: #000 !important;
}

.btn-primary {
    background-color: #000;
    border-color: #000;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: #333;
    border-color: #333;
}

.btn-outline-primary {
    color: #000;
    border-color: #000;
}

.btn-outline-primary:hover, .btn-outline-primary:focus, .btn-outline-primary:active {
    background-color: #000;
    border-color: #000;
}

/* Header & Navigation */
.navbar-dark {
    background-color: #000 !important;
}

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

.avatar-img {
    object-fit: cover;
    border: 2px solid #fff;
}

/* Cards */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.card-header {
    background-color: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
    font-weight: 600;
}

.card-header:first-child {
    border-radius: 10px 10px 0 0;
}

.card-footer {
    background-color: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.125);
}

.card-footer:last-child {
    border-radius: 0 0 10px 10px;
}

/* Event Cards */
.event-card {
    height: 100%;
}

.event-card .card-body {
    display: flex;
    flex-direction: column;
}

.event-card .card-title {
    font-weight: 600;
}

.event-card .event-date {
    font-size: 0.9rem;
    color: #6c757d;
}

.event-card .event-location {
    margin-top: auto;
    font-size: 0.9rem;
}

.event-card .event-status {
    position: absolute;
    top: 10px;
    right: 10px;
}

.event-card .card-footer {
    padding: 0.5rem 1rem;
}

/* Dashboard */
.dashboard-stats .card {
    border-left: 4px solid;
}

.dashboard-stats .card-body {
    padding: 1rem;
}

.dashboard-stats .stat-icon {
    font-size: 2rem;
    opacity: 0.3;
}

.dashboard-stats .stat-value {
    font-size: 1.5rem;
    font-weight: 700;
}

.dashboard-stats .stat-label {
    font-size: 0.9rem;
    color: #6c757d;
}

/* Calendar */
.fc-event {
    cursor: pointer;
    border: none !important;
}

.fc-day-today {
    background-color: rgba(0, 0, 0, 0.05) !important;
}

.fc-button-primary {
    background-color: #000 !important;
    border-color: #000 !important;
}

.fc-button-primary:hover {
    background-color: #333 !important;
    border-color: #333 !important;
}

/* Forms */
.form-control:focus, .form-select:focus {
    border-color: #000;
    box-shadow: 0 0 0 0.25rem rgba(0, 0, 0, 0.25);
}

.form-label {
    font-weight: 500;
}

.required-field::after {
    content: "*";
    color: #dc3545;
    margin-left: 4px;
}

/* Notifications */
.notification-dropdown {
    width: 320px;
    max-height: 400px;
    overflow-y: auto;
}

.notification-list {
    max-height: 300px;
    overflow-y: auto;
}

.notification-item {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e9ecef;
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-icon {
    margin-right: 10px;
    font-size: 1.25rem;
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-weight: 500;
}

/* Staff Assignment */
.staff-card {
    transition: all 0.3s ease;
}

.staff-card:hover {
    transform: translateY(-5px);
}

.staff-card .staff-avatar {
    width: 64px;
    height: 64px;
    object-fit: cover;
}

/* Inventory & Equipment */
.inventory-item, .equipment-item {
    transition: all 0.3s ease;
}

.inventory-item:hover, .equipment-item:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

/* Invoice */
.invoice-header {
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.invoice-company {
    font-size: 1.5rem;
    font-weight: 700;
}

.invoice-details {
    margin-bottom: 2rem;
}

.invoice-details-label {
    font-weight: 600;
}

.invoice-items {
    margin-bottom: 2rem;
}

.invoice-total {
    font-weight: 700;
    font-size: 1.2rem;
}

.invoice-footer {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #dee2e6;
}

/* Reviews */
.review-card {
    margin-bottom: 1.5rem;
}

.review-card .review-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.review-card .review-author {
    font-weight: 600;
    margin-right: 1rem;
}

.review-card .review-date {
    font-size: 0.85rem;
    color: #6c757d;
}

.review-card .review-rating {
    margin-bottom: 0.5rem;
}

.review-card .review-rating .fa-star {
    color: #ffc107;
}

/* Login & Registration */
.auth-form {
    max-width: 400px;
    margin: 0 auto;
}

.auth-form .card {
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.auth-form .card-header {
    background-color: #000;
    color: #fff;
    text-align: center;
    font-weight: 700;
    padding: 1.5rem;
}

.auth-form .card-body {
    padding: 2rem;
}

.auth-form .form-group {
    margin-bottom: 1.5rem;
}

/* Profile */
.profile-header {
    background-color: #000;
    color: #fff;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.profile-avatar {
    width: 128px;
    height: 128px;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.profile-info {
    padding-left: 2rem;
}

.profile-name {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.profile-role {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 1rem;
}

/* Client View */
.client-view-header {
    background-color: #000;
    color: #fff;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.client-view-logo {
    max-width: 200px;
}

.client-view-event-name {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.client-view-event-date {
    font-size: 1.2rem;
    opacity: 0.8;
}

.client-view-section {
    margin-bottom: 2rem;
}

.client-view-section-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #000;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .profile-header {
        text-align: center;
    }
    
    .profile-avatar {
        margin-bottom: 1rem;
    }
    
    .profile-info {
        padding-left: 0;
    }
    
    .invoice-header {
        text-align: center;
    }
    
    .invoice-company {
        margin-bottom: 1rem;
    }
}

/* Print styles for invoices */
@media print {
    body {
        background-color: #fff;
    }
    
    .navbar, .footer, .no-print {
        display: none !important;
    }
    
    .container {
        width: 100%;
        max-width: 100%;
    }
    
    .invoice-container {
        padding: 0;
        margin: 0;
        border: none;
        box-shadow: none;
    }
}

/* Venmo Button */
.venmo-button {
    background-color: #3D95CE;
    color: white;
    border: none;
}

.venmo-button:hover {
    background-color: #2D85BE;
    color: white;
}

/* Status Badges */
.badge-pending {
    background-color: #ffc107;
    color: #212529;
}

.badge-confirmed {
    background-color: #28a745;
    color: #fff;
}

.badge-completed {
    background-color: #17a2b8;
    color: #fff;
}

.badge-cancelled {
    background-color: #dc3545;
    color: #fff;
}

/* Calendar View Toggle */
.view-toggle {
    margin-bottom: 1rem;
}

.view-toggle .btn {
    border-radius: 0;
}

.view-toggle .btn:first-child {
    border-top-left-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
}

.view-toggle .btn:last-child {
    border-top-right-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
}

/* Loading Spinner */
.spinner-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
}