/* Landing Page Creator - Main Styles */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
    --light-color: #f8f9fa;
    --dark-color: #212529;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

.min-vh-100 {
    min-height: 100vh;
}

.bg-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

/* Dashboard Styles */
.dashboard-header {
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1rem 0;
}

.project-card {
    transition: transform 0.2s;
    cursor: pointer;
}

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

.template-card {
    border: 2px solid transparent;
    transition: all 0.2s;
}

.template-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.template-card.selected {
    border-color: var(--primary-color);
    background-color: #e7f3ff;
}

/* Editor Styles */
.editor-toolbar {
    background: white;
    border-bottom: 1px solid #dee2e6;
    padding: 0.5rem 1rem;
}

.component-palette {
    background: white;
    border-right: 1px solid #dee2e6;
    height: calc(100vh - 60px);
    overflow-y: auto;
}

.editor-canvas {
    background: #f8f9fa;
    min-height: calc(100vh - 60px);
    position: relative;
}

.draggable-component {
    padding: 0.75rem;
    margin: 0.5rem;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    cursor: grab;
    transition: all 0.2s;
}

.draggable-component:hover {
    background: #e7f3ff;
    border-color: var(--primary-color);
}

.drop-zone {
    min-height: 100px;
    border: 2px dashed #dee2e6;
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    transition: all 0.2s;
}

.drop-zone.drag-over {
    border-color: var(--primary-color);
    background-color: #e7f3ff;
}

.editable-element {
    position: relative;
    outline: 2px solid transparent;
    transition: outline 0.2s;
}

.editable-element:hover {
    outline-color: var(--primary-color);
}

.editable-element.selected {
    outline-color: var(--success-color);
}

/* Property Panel */
.property-panel {
    background: white;
    border-left: 1px solid #dee2e6;
    height: calc(100vh - 60px);
    overflow-y: auto;
}

/* Responsive */
@media (max-width: 768px) {
    .component-palette,
    .property-panel {
        height: auto;
        max-height: 300px;
    }
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Alerts */
.alert {
    border-radius: 0.375rem;
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    border-radius: 0.375rem;
    font-weight: 500;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}