:root {
    --primary-font: 'Inter', sans-serif;
}

body {
    font-family: var(--primary-font);
    background-color: #f8f9fa;
    color: #212529;
}

.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.btn {
    border-radius: 8px;
    padding: 8px 16px;
    font-weight: 500;
}

.form-control, .form-select {
    border-radius: 8px;
    padding: 10px 15px;
    border: 1px solid #dee2e6;
}

.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
}

/* Sidebar for Editor */
.editor-sidebar {
    height: calc(100vh - 100px);
    overflow-y: auto;
    position: sticky;
    top: 80px;
}

/* Drag and Drop styles */
.sortable-ghost {
    opacity: 0.4;
    background-color: #e9ecef !important;
}

.handle {
    cursor: move;
    color: #adb5bd;
}

.section-card {
    border-left: 4px solid #0d6efd;
    margin-bottom: 2rem;
}

.field-card {
    background-color: #fff;
    border: 1px solid #eee;
    margin-bottom: 1rem;
    padding: 1.5rem;
    position: relative;
}

.field-actions {
    position: absolute;
    top: 10px;
    right: 10px;
}

/* Form Preview */
.preview-container {
    background-color: #e9ecef;
    padding: 2rem;
    border-radius: 12px;
    min-height: 500px;
}

.preview-form {
    margin: 0 auto;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
}

.preview-header-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Responsive utilities */
@media (max-width: 768px) {
    .editor-sidebar {
        height: auto;
        position: static;
    }
}

/* Login Page */
.login-container {
    max-width: 400px;
    margin: 100px auto;
}

/* Stats Cards */
.stat-card {
    padding: 1.5rem;
    text-align: center;
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #0d6efd;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
}

.stat-label {
    color: #6c757d;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
