/* Custom CSS to hide settings trigger and related elements */
#settings-trigger,
.theme-setting-wrapper,
#theme-settings {
    display: none !important;
}

/* Hide any other theme customization elements */
.settings-panel {
    display: none !important;
}

/* Profile page enhancements */
.profile-image {
    border: 3px solid #e9ecef;
    transition: all 0.3s ease;
}

.profile-image:hover {
    border-color: #007bff;
    transform: scale(1.05);
}

.profile-card {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.profile-card:hover {
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* Form enhancements */
.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

/* Badge styling */
.badge {
    font-size: 0.85em;
    padding: 0.5em 0.8em;
}

/* ========== VENUE FORM TAB ENHANCEMENTS ========== */

/* Tab navigation styling */
#venueFormTabs {
    border-bottom: 2px solid #e9ecef;
    margin-bottom: 2rem;
}

#venueFormTabs .nav-link {
    border: none;
    border-radius: 0;
    color: #6c757d;
    font-weight: 500;
    padding: 1rem 1.5rem;
    position: relative;
    transition: all 0.3s ease;
}

#venueFormTabs .nav-link:hover {
    color: #007bff;
    background-color: rgba(0, 123, 255, 0.05);
}

#venueFormTabs .nav-link.active {
    color: #007bff;
    background-color: transparent;
    border-bottom: 3px solid #007bff;
}

#venueFormTabs .nav-link i {
    font-size: 1.1em;
}

/* Tab content styling */
#venueFormTabContent {
    min-height: 400px;
}

.tab-pane {
    animation: fadeInUp 0.4s ease-in-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced form groups */
.venue-form .form-group {
    margin-bottom: 1.5rem;
}

.venue-form .form-group label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
}

.venue-form .form-control {
    border-radius: 6px;
    border: 1px solid #ced4da;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.venue-form .form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    transform: translateY(-1px);
}

/* Required field indicator */
.text-danger {
    color: #dc3545 !important;
}

/* Alert styling enhancements */
.alert {
    border-radius: 8px;
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.alert-info {
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    color: #0c5460;
}

.alert-warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    color: #856404;
}

.alert h6 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Card enhancements for facilities */
.facilities-grid .card {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
    height: 100%;
}

.facilities-grid .card:hover {
    border-color: #007bff;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
    transform: translateY(-2px);
}

.facilities-grid .card-body {
    display: flex;
    align-items: center;
    min-height: 60px;
}

.facilities-grid .form-check {
    margin: 0;
    width: 100%;
}

.facilities-grid .form-check-label {
    font-weight: 500;
    color: #495057;
    cursor: pointer;
    display: flex;
    align-items: center;
    width: 100%;
}

.facilities-grid .form-check-input:checked ~ .form-check-label {
    color: #007bff;
}

.facilities-grid .form-check-input:checked ~ .form-check-label i {
    color: #007bff !important;
}

/* Custom facilities card */
.custom-facilities-card {
    border-left: 4px solid #007bff;
}

.custom-facilities-card .card-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #dee2e6;
}

/* Navigation buttons styling */
.venue-form-navigation {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.venue-form-navigation .btn {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.venue-form-navigation .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.venue-form-navigation .btn-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border: none;
}

.venue-form-navigation .btn-outline-primary {
    border: 2px solid #007bff;
    color: #007bff;
}

.venue-form-navigation .btn-outline-primary:hover {
    background: #007bff;
    border-color: #007bff;
}

/* Coordinate input styling */
.coordinate-inputs .form-group {
    position: relative;
}

.coordinate-inputs .form-control[type="number"] {
    padding-right: 3rem;
}

.coordinate-inputs .form-text {
    font-size: 0.8rem;
    font-style: italic;
}

/* Image URL section styling */
.image-section .card {
    border-left: 4px solid #28a745;
}

.image-section .card-body {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

/* Cover image card styling */
.cover-image-card {
    border-left: 4px solid #007bff !important;
}

.cover-image-card .card-header {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-bottom: 1px solid #2196f3;
}

/* Gallery images card styling */
.gallery-images-card {
    border-left: 4px solid #28a745 !important;
}

.gallery-images-card .card-header {
    background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%);
    border-bottom: 1px solid #4caf50;
}

/* Image preview styling */
.image-preview img {
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.image-preview img:hover {
    border-color: #007bff;
    transform: scale(1.02);
}

/* Gallery preview styling */
.gallery-preview {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid #e9ecef;
}

.gallery-preview img {
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-preview img:hover {
    border-color: #28a745;
    transform: scale(1.05);
}

/* Gallery counter badge */
#galleryCounter {
    font-size: 0.9rem;
    padding: 0.5rem 0.8rem;
}

/* Rate per day input styling */
.input-group-text {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-color: #ced4da;
    color: #495057;
    font-weight: 600;
}

/* Enhanced form styling for new fields */
.venue-form input[type="number"] {
    text-align: right;
}

.venue-form input[type="url"] {
    font-family: monospace;
    font-size: 0.9rem;
}

/* Image section specific spacing */
.image-section .card + .card {
    margin-top: 1.5rem;
}

/* Geocoding button styling */
.geocode-btn {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
    border: none;
    border-radius: 6px;
    color: white;
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.geocode-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(23, 162, 184, 0.3);
    color: white;
}

.geocode-btn:disabled {
    opacity: 0.7;
    transform: none;
    box-shadow: none;
}

/* Loading spinner */
.mdi-spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Form validation styling */
.form-control.is-invalid {
    border-color: #dc3545;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 20%, 40%, 60%, 80%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-5px);
    }
}

.is-invalid ~ .invalid-feedback {
    display: block;
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #venueFormTabs .nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    #venueFormTabs .nav-link i {
        display: none;
    }
    
    .venue-form-navigation {
        padding: 1rem;
    }
    
    .venue-form-navigation .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .facilities-grid .col-md-4 {
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 576px) {
    #venueFormTabs {
        flex-wrap: wrap;
    }
    
    #venueFormTabs .nav-item {
        flex: 1 1 50%;
    }
    
    #venueFormTabs .nav-link {
        text-align: center;
        padding: 0.5rem;
        font-size: 0.8rem;
    }
    
    .venue-form-navigation .d-flex {
        flex-direction: column;
        gap: 1rem;
    }
    
    .venue-form-navigation .btn {
        width: 100%;
    }
}

/* Success state styling */
.form-success {
    border: 2px solid #28a745;
    background: rgba(40, 167, 69, 0.1);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.form-success h5 {
    color: #28a745;
    margin-bottom: 0.5rem;
}

/* Progress indicator (for future enhancement) */
.tab-progress {
    height: 4px;
    background: #e9ecef;
    border-radius: 2px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.tab-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #007bff 0%, #0056b3 100%);
    border-radius: 2px;
    transition: width 0.3s ease;
    width: 20%; /* Default to 20% (1/5 tabs) */
}

/* Icon styling improvements */
.mdi {
    vertical-align: middle;
}

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

/* Enhanced textarea styling */
textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.form-text {
    font-size: 0.875rem;
    color: #6c757d;
    line-height: 1.4;
}

/* Custom scrollbar for long content */
.tab-pane {
    max-height: 80vh;
    overflow-y: auto;
}

.tab-pane::-webkit-scrollbar {
    width: 6px;
}

.tab-pane::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.tab-pane::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.tab-pane::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}