/* Custom styles for Forms Clone */

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Card hover effect */
.card {
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Question card styling */
.question-card .drag-handle {
    cursor: move;
    padding: 0.5rem;
}

/* Rating stars */
.rating {
    display: flex;
    gap: 0.5rem;
}

.rating .star {
    cursor: pointer;
    font-size: 1.5rem;
    color: #ccc;
}

.rating .star:hover,
.rating .star.active {
    color: #ffc107;
}

.rating .star:hover ~ .star,
.rating .star.active ~ .star {
    color: #ccc;
}

/* Toast notification styling */
.toast-container {
    z-index: 1100;
}

/* Form preview styling */
#preview-tab-pane .card-header {
    background-color: #f8f9fa;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .card-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .card-header .ms-auto {
        margin-left: 0 !important;
        margin-top: 1rem;
        width: 100%;
    }
}

