
/* Environment: dev - Generated styles */

.debug-info {
    position: fixed;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 3px;
    z-index: 9999;
}
/* Admin styles for Auburn Event Calendar */

/* Admin layout */
.admin-container {
    display: flex;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.admin-sidebar {
    width: 250px;
    background-color: #2c3e50;
    color: #fff;
    padding: 1.5rem;
    min-height: calc(100vh - 200px);
}

.admin-sidebar h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.admin-sidebar ul {
    list-style: none;
}

.admin-sidebar ul li {
    margin-bottom: 0.5rem;
}

.admin-sidebar ul li a {
    display: block;
    color: #ecf0f1;
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.admin-sidebar ul li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.admin-sidebar ul li a.active {
    background-color: #3498db;
    color: #fff;
}

.admin-content {
    flex: 1;
    padding: 2rem;
}

/* Dashboard metrics */
.dashboard-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.metric-card {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-5px);
}

.metric-card h3 {
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.metric-value {
    font-size: 2.5rem;
    font-weight: bold;
    color: #3498db;
}

/* Dashboard charts */
.dashboard-charts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.chart-container {
    background-color: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.chart-container h3 {
    font-size: 1.1rem;
    color: #343a40;
    margin-bottom: 1rem;
}

.chart {
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chart-placeholder {
    color: #adb5bd;
    font-style: italic;
}

/* Activity list */
.activity-list {
    max-height: 250px;
    overflow-y: auto;
}

.activity-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-time {
    font-size: 0.8rem;
    color: #6c757d;
}

.activity-description {
    margin-top: 0.25rem;
}

.activity-user {
    font-weight: bold;
}



.button {
    display: inline-block;
    background-color: #3498db;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #2980b9;
}

/* Tables */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

.admin-table th,
.admin-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.admin-table th {
    background-color: #f8f9fa;
    font-weight: bold;
}

.admin-table tr:hover {
    background-color: #f8f9fa;
}

.table-actions {
    display: flex;
    gap: 0.5rem;
}

.table-actions button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.table-actions button:hover {
    background-color: #e9ecef;
}

.table-actions .edit {
    color: #3498db;
}

.table-actions .delete {
    color: #e74c3c;
}

.table-actions .approve {
    color: #2ecc71;
}

.table-actions .reject {
    color: #e74c3c;
}

/* Forms */
.admin-form {
    max-width: 800px;
    margin-bottom: 2rem;
}

/* Edit Event Page Styles */
.admin-edit-event-container {
    max-width: 900px;
}

.loading-container {
    text-align: center;
    padding: 3rem;
}

.loading-message {
    font-size: 1.1rem;
    color: #6c757d;
}

.error-container {
    text-align: center;
    padding: 3rem;
}

.error-message {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    padding: 2rem;
    color: #721c24;
}

.error-message h3 {
    margin-bottom: 1rem;
    color: #721c24;
}

.error-actions {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.breadcrumb-nav {
    margin-bottom: 2rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
    font-size: 0.9rem;
}

.breadcrumb-nav a {
    color: #3498db;
    text-decoration: none;
}

.breadcrumb-nav a:hover {
    text-decoration: underline;
}

.breadcrumb-separator {
    margin: 0 0.5rem;
    color: #6c757d;
}

.admin-header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.event-status-info {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.status-display {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

.status-badge.published {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-badge.pending {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.status-badge.draft {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.status-badge.rejected {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.status-description {
    color: #6c757d;
    font-size: 0.9rem;
}

.version-info {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.version-display {
    display: flex;
    gap: 2rem;
    font-size: 0.9rem;
    color: #6c757d;
}

.version-display span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-loading {
    display: none;
}

.btn:disabled .btn-text {
    display: none;
}

.btn:disabled .btn-loading {
    display: inline;
}

/* Form row for side-by-side inputs */
.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-row .form-group {
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 1rem;
}

.form-control:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.25);
}

textarea.form-control {
    min-height: 150px;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* Moderation queue */
.moderation-item {
    background-color: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.moderation-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.moderation-item-title {
    font-size: 1.2rem;
    font-weight: bold;
}

.moderation-item-meta {
    color: #6c757d;
    font-size: 0.9rem;
}

.moderation-item-content {
    margin-bottom: 1.5rem;
}

.moderation-item-actions {
    display: flex;
    gap: 1rem;
}

/* User management */
.user-role {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

.role-admin {
    background-color: #e74c3c;
    color: #fff;
}

.role-moderator {
    background-color: #3498db;
    color: #fff;
}

.role-editor {
    background-color: #2ecc71;
    color: #fff;
}

.role-pending {
    background-color: #f39c12;
    color: #fff;
}

.role-blocked {
    background-color: #7f8c8d;
    color: #fff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .admin-container {
        flex-direction: column;
    }

    .admin-sidebar {
        width: 100%;
        min-height: auto;
    }

    .dashboard-metrics,
    .dashboard-charts {
        grid-template-columns: 1fr;
    }
}

/* Hide admin-only elements for non-admin users */
.admin-only {
    display: none;
}

/* Will be shown via JavaScript for admin users */
body.is-admin .admin-only {
    display: block;
}

/* Style for admin-only form groups */
body.is-admin .form-group.admin-only {
    background-color: #f8f9fa;
    padding: 15px;
    border-left: 4px solid #3498db;
    border-radius: 4px;
}

/* Loading and error states */
.loading-message,
.error-message {
    padding: 1rem;
    text-align: center;
    color: #6c757d;
}

.error-message {
    color: #e74c3c;
}

/*
 Form validation styles */
.form-control.invalid {
    border-color: #e74c3c;
    background-color: #fff8f8;
}

.error-message {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: block;
}

/* Form row for side-by-side fields */
.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

/* Image upload styles */
.image-preview {
    width: 100%;
    min-height: 150px;
    border: 2px dashed #ced4da;
    border-radius: 4px;
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.image-preview:before {
    content: 'Drag & drop an image here or click to select';
    color: #6c757d;
    font-style: italic;
    position: absolute;
    pointer-events: none;
}

.image-preview.has-image:before {
    display: none;
}

.image-preview.dragover {
    border-color: #3498db;
    background-color: rgba(52, 152, 219, 0.05);
}

.image-preview.has-image {
    border-style: solid;
    border-color: #3498db;
    min-height: auto;
    justify-content: flex-start;
}

.preview-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.preview-image {
    max-width: 100%;
    max-height: 300px;
    margin-bottom: 1rem;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.file-info {
    margin-bottom: 1rem;
    color: #6c757d;
    font-size: 0.9rem;
    text-align: center;
}

.preview-actions {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.remove-image, .upload-image {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.remove-image {
    background-color: #6c757d;
    color: white;
}

.remove-image:hover {
    background-color: #5a6268;
}

.upload-image {
    background-color: #3498db;
    color: white;
}

.upload-image:hover:not(:disabled) {
    background-color: #2980b9;
}

.upload-image:disabled {
    background-color: #bdc3c7;
    cursor: not-allowed;
}

.upload-image.btn-success {
    background-color: #27ae60;
}

.upload-image.btn-success:hover {
    background-color: #229954;
}

/* Upload progress styles */
.upload-progress {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 4px;
    margin-top: 1rem;
}

.progress-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #e9ecef;
    border-top: 2px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.progress-message {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Upload error styles */
.upload-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    margin-top: 1rem;
}

.error-icon {
    font-size: 1.5rem;
}

.error-message {
    color: #721c24;
    font-size: 0.9rem;
    text-align: center;
}

.retry-upload {
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.retry-upload:hover {
    background-color: #c0392b;
}

/* Upload success styles */
.upload-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    margin-top: 1rem;
}

.success-icon {
    font-size: 1.5rem;
    color: #155724;
}

.success-message {
    color: #155724;
    font-size: 0.9rem;
    text-align: center;
}

.image-placeholder {
    width: 100%;
    height: 150px;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-style: italic;
    border-radius: 4px;
}

/* Button styles */
.button-secondary {
    background-color: #6c757d;
}

.button-secondary:hover {
    background-color: #5a6268;
}

/* Notification styles */
#notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.notification {
    padding: 12px 20px;
    margin-bottom: 10px;
    border-radius: 4px;
    color: white;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.3s ease-out;
}

.notification.success {
    background-color: #2ecc71;
}

.notification.error {
    background-color: #e74c3c;
}

.notification.info {
    background-color: #3498db;
}

.notification.warning {
    background-color: #f39c12;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Internal notes section styles */
.internal-notes-section {
    background-color: #f8f9fa;
    border-left: 4px solid #3498db;
    padding: 15px;
    margin: 20px 0;
    border-radius: 4px;
}

.internal-notes-section h3 {
    color: #3498db;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.internal-notes-content {
    white-space: pre-wrap;
    font-family: inherit;
    line-height: 1.5;
}

.internal-notes-content em {
    color: #6c757d;
    font-style: italic;
}
/* Da
shboard loading and error states */
.metric-value.loading {
    color: #6c757d;
    font-style: italic;
    animation: pulse 1.5s ease-in-out infinite alternate;
}

.metric-value.error {
    color: #e74c3c;
    font-size: 1.5rem;
}

.loading {
    color: #6c757d;
    font-style: italic;
}

.error {
    color: #e74c3c;
}

@keyframes pulse {
    from {
        opacity: 0.6;
    }
    to {
        opacity: 1;
    }
}

/* Refresh button styles */
.refresh-btn {
    background: none;
    border: none;
    color: #3498db;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0.25rem;
    margin-left: 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.refresh-btn:hover {
    background-color: rgba(52, 152, 219, 0.1);
    transform: rotate(90deg);
}

.refresh-btn:active {
    transform: rotate(180deg);
}

/* Activity feed loading state */
#activity-feed .loading {
    text-align: center;
    padding: 2rem;
    color: #6c757d;
    font-style: italic;
}

#activity-feed .error {
    text-align: center;
    padding: 2rem;
    color: #e74c3c;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
}

/* Enhanced activity item styles */
.activity-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.2s ease;
}

.activity-item:hover {
    background-color: rgba(52, 152, 219, 0.05);
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    margin-left: -0.5rem;
    margin-right: -0.5rem;
    border-radius: 4px;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-time {
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 500;
}

.activity-description {
    margin-top: 0.25rem;
    line-height: 1.4;
}

.activity-user {
    font-weight: bold;
    color: #2c3e50;
}

/* Dashboard metrics hover effects */
.metric-card {
    transition: all 0.3s ease;
    cursor: default;
}

.metric-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.metric-card:hover .metric-value {
    color: #2980b9;
}

/* Responsive improvements for dashboard */
@media (max-width: 768px) {
    .dashboard-metrics {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .metric-card {
        padding: 1rem;
    }
    
    .metric-value {
        font-size: 2rem;
    }
    
    .dashboard-charts {
        grid-template-columns: 1fr;
    }
    
    .refresh-btn {
        font-size: 1rem;
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    .dashboard-metrics {
        grid-template-columns: 1fr;
    }
    
    .metric-value {
        font-size: 1.8rem;
    }
}