:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

.carousel-image-placeholder {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.card {
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,.15);
}

.btn {
    transition: all 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
}

footer {
    margin-top: auto;
}

.table-responsive {
    overflow-x: auto;
}

.badge {
    font-weight: 500;
}

@media (max-width: 768px) {
    .carousel-image-placeholder {
        height: 300px !important;
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
}

.alert {
    border-radius: 0.5rem;
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Inline Editing Styles */
[data-editable] {
    position: relative;
    cursor: pointer;
    transition: background-color 0.2s;
    padding: 2px 4px;
    border-radius: 4px;
}

[data-editable]:hover {
    background-color: rgba(13, 110, 253, 0.1);
}

[data-editable].editing {
    background-color: transparent;
    cursor: default;
}

.edit-icon {
    opacity: 0.6;
    transition: opacity 0.2s;
}

.edit-icon:hover {
    opacity: 1;
}

/* Toast Notification Styles */
.toast-container {
    z-index: 9999;
}

.toast {
    min-width: 300px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.toast-body {
    padding: 1rem;
}

.toast .btn-close {
    padding: 0.5rem;
}

/* Editable content types */
[data-content-type="textarea"] {
    display: block;
    min-height: 60px;
}

[data-content-type="url"] {
    color: var(--primary-color);
    text-decoration: underline;
}

[data-content-type="email"] {
    color: var(--info-color);
}

[data-content-type="phone"] {
    font-weight: 500;
}

.text-white-50:hover {
    color: rgba(255, 255, 255, 0.75) !important;
}
