/* Global Styles */
body {
    background-color: #f5f7fa;
    font-family: 'Inter', sans-serif;
}

/* Card Styles */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
    border: none;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1) !important;
}

.card-header {
    border-radius: 10px 10px 0 0 !important;
    border: none;
}

/* Welcome Section */
.welcome-section {
    background: linear-gradient(135deg, #4F46E5, #818CF8);
    position: relative;
    overflow: hidden;
}

.welcome-section::before {
    content: '';
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.6;
}

/* Stats Icons */
.stats-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Table Styles */
.table {
    border-collapse: separate;
    border-spacing: 0;
}

.table th {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6c757d;
    padding: 1.25rem 0.75rem;
    border-bottom: 2px solid #e9ecef;
    cursor: pointer;
    user-select: none;
}

.table th.sortable:hover {
    background-color: #f1f3f5;
}

.table th.sort-asc .fa-sort::before {
    content: '\f0de';
}

.table th.sort-desc .fa-sort::before {
    content: '\f0dd';
}

.table td {
    padding: 1.25rem 0.75rem;
    vertical-align: middle;
    border-bottom: 1px solid #e9ecef;
}

.table > :not(caption) > * > * {
    padding: 1rem;
}

/* Button Styles */
.btn-group .btn {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    padding: 0.25rem 0.5rem;
    margin: 0 2px;
}

.btn-group .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-theme {
    background: linear-gradient(135deg, #4F46E5, #818CF8);
    color: white;
    border: none;
}

.btn-theme:hover {
    background: linear-gradient(135deg, #4338CA, #6366F1);
    color: white;
    transform: translateY(-2px);
}

/* Badge Styles */
.badge {
    padding: 0.5rem 0.75rem;
    font-weight: 500;
    transition: transform 0.2s ease;
}

.badge:hover {
    transform: scale(1.05);
}

/* Progress Bar */
.progress {
    background-color: #e9ecef;
    border-radius: 10px;
    height: 8px;
}

.progress-bar {
    background: linear-gradient(135deg, #4F46E5, #818CF8);
    border-radius: 10px;
}

/* Form Elements */
.form-control, .form-select {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: #4F46E5;
    box-shadow: 0 0 0 0.25rem rgba(79, 70, 229, 0.25);
}

/* Alert Styles */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* Empty States */
.empty-state {
    text-align: center;
    padding: 2rem;
}

/* Response Items */
.response-item:hover {
    background-color: #f8f9fa;
    border-radius: 8px;
}

/* Pagination */
.pagination .page-link {
    border-radius: 8px;
    margin: 0 4px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.pagination .page-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Responsive Styles */
@media (max-width: 768px) {

    .table-responsive {
        border: none;
    }

    .btn-group {
        flex-wrap: wrap;
        justify-content: center;
    }

    .btn-group .btn {
        margin: 4px;
    }

    .input-group {
        width: 100% !important;
    }

    .form-select {
        max-width: 100%;
    }
}

/* Animations */
.transition-all {
    transition: all 0.3s ease;
}

/* Theme Colors */
.bg-theme {
    background: linear-gradient(135deg, #4F46E5, #818CF8);
}

.text-theme {
    color: #4F46E5;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
} 

.formsHeaderTitle{
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 0 !important;
}
.form-control{
        background: #e9e9e9!important;
    border: none!important;
    padding: .675rem .75rem;
}
.btn-theme{
    font-size: 15px;
    padding: 1rem;
}
.backbuton{
    background: #FFF;
    padding: 10px;
    border-radius: 5px;
    display: flex
;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: #362846;
}