/* Main Styles */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #f8f9fa;
}

.container {
    flex: 1;
}

/* Card hover effects */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Custom colors */
.bg-primary {
    background-color: #1a73e8 !important;
}

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

.btn-primary:hover {
    background-color: #0d62d1;
    border-color: #0d62d1;
}

/* Form styles */
.form-control:focus {
    border-color: #1a73e8;
    box-shadow: 0 0 0 0.2rem rgba(26, 115, 232, 0.25);
}

/* Custom badges for status */
.badge-active {
    background-color: #28a745;
}

.badge-inactive {
    background-color: #dc3545;
}

.badge-banned {
    background-color: #6c757d;
}

/* Loading spinner */
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    display: none;
}

.spinner-overlay.active {
    display: flex;
}

/* File upload area */
.upload-area {
    border: 2px dashed #1a73e8;
    padding: 2rem;
    text-align: center;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.upload-area:hover {
    background-color: rgba(26, 115, 232, 0.05);
}

.upload-preview {
    display: flex;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.preview-item {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0.5rem;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-item .remove-file {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(255,255,255,0.8);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    cursor: pointer;
}

/* Location select cascade */
.location-selects .form-group {
    transition: opacity 0.3s ease;
}

.location-selects .form-group.disabled {
    opacity: 0.5;
}

/* Animations */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}