body,
html {
    margin: 0 auto !important;
    max-width: 100% !important;
}


.background-gradient {
    background: linear-gradient(180deg, rgb(37, 92, 194) 0%, rgb(0, 13, 56) 100%) !important;

}

.color-gradient {
    color: linear-gradient(180deg, rgb(37, 92, 194) 0%, rgb(0, 13, 56) 100%) !important;
}

.border-gradient {
    border: 6px solid transparent;
    border-image: linear-gradient(180deg, rgb(37, 92, 194) 0%, rgb(0, 13, 56) 100%) 1;
    border-radius: 50%;
}

.text-color-white {
    color: #ffffff !important;
}

li {
    list-style: none;
}



#sidebar {
    max-width: 300px;
    min-width: 300px;
    transition: all 0.35s ease-in-out;
}

#sidebar.collapsed {
    margin-left: -255px;
}

.sidebar.collapsed span {
    display: none;
}

.sidebar.collapsed .nav-link .icons {
    margin-left: 250px;
}

.sidebar.collapsed .nav-link .sub-icons {
    margin-left: 225px;
}

.sidebar.collapsed .nav-link .logout-icons {
    margin-left: 255px;
}


.sidebar.collapsed h3 {
    display: none;
}

.sidebar.collapsed .logo {
    margin-left: 243px;
}

.toggle-btn {
    background-color: transparent;
    cursor: pointer;
    border: 0;
}

.icon-hidden {
    display: none !important;
}

.background-gradient {
    background: linear-gradient(180deg, rgb(37, 92, 194) 0%, rgb(0, 13, 56) 100%) !important;
}

li {
    list-style: none;
}


.sidebar a {
    text-decoration: none;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    transition: background-color 0.2s ease;
}

.sidebar a:hover {
    background-color: darkblue;
}

#sidebar {
    max-width: 300px;
    min-width: 300px;
    transition: all 0.35s ease-in-out;
}

#sidebar.collapsed {
    margin-left: -255px;
}

.sidebar.collapsed span {
    display: none;
}

.sidebar.collapsed .nav-link .icons {
    margin-left: 250px;
}

.sidebar.collapsed .nav-link .sub-icons {
    margin-left: 225px;
}

.sidebar.collapsed .nav-link .logout-icons {
    margin-left: 255px;
}


.sidebar.collapsed h3 {
    display: none;
}

.sidebar.collapsed .logo {
    margin-left: 243px;
}

.icon-hidden {
    display: none !important;
}

#drop-area {
    border: 3px dashed rgba(10, 44, 156, 0.57);
    border-radius: 10px;
    width: 100%;
    height: 200px;
    font-family: Arial, sans-serif;
    text-align: center;
    padding: 20px;
    margin: 20px 0;
    color: #333;
    background-color: rgba(50, 98, 255, 0.12)
}

#drop-area:hover {
    background-color: rgba(36, 36, 36, 0.18)
}

.pagination .page-item.active .page-link {
    background: linear-gradient(180deg, rgb(37, 92, 194) 0%, rgb(0, 13, 56) 100%) !important;
    border-color: rgb(37, 92, 194);
    font-weight: bold;
    color: white;
}

.not-allowed {
    cursor: not-allowed;
}


@keyframes shake {
    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    50% {
        transform: translateX(5px);
    }

    75% {
        transform: translateX(-5px);
    }

    100% {
        transform: translateX(0);
    }
}

.shake:hover {
    animation: shake 0.5s ease-in-out;
}

.fixed-width {
    width: 150px;
    max-width: 150px;
    min-width: 150px;
}

.background-gradient {
    background: linear-gradient(180deg, rgb(37, 92, 194) 0%, rgb(0, 13, 56) 100%) !important;
}

.background-light {
    background: rgba(86, 131, 214, 0.61) !important;
}

.background-primary {
    background: rgb(17, 61, 143) !important;
}

.modal a {
    border-radius: 5px;

}

.modal a:hover {
    border-radius: 5px;
    animation: shake 0.5s ease-in-out;
    background-color: rgb(133, 14, 10)
}

.card-body {
    background-color: #ffffff;
}

/* Custom styling for the rating form */
.rating-group label {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border: 1px solid #ced4da;
    border-radius: 50%;
    margin-right: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.rating-group input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    margin: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.rating-group span {
    display: inline-block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

/* Color gradient for ratings */
.rating-group input[value="1"]:checked+span {
    background-color: #d32f2f;
    color: white;
    font-weight: bold;
}

.rating-group input[value="2"]:checked+span {
    background-color: #e53935;
    color: white;
    font-weight: bold;
}

.rating-group input[value="3"]:checked+span {
    background-color: #f44336;
    color: white;
    font-weight: bold;
}

.rating-group input[value="4"]:checked+span {
    background-color: #ef5350;
    color: white;
    font-weight: bold;
}

.rating-group input[value="5"]:checked+span {
    background-color: #ff9800;
    color: white;
    font-weight: bold;
}

.rating-group input[value="6"]:checked+span {
    background-color: #fb8c00;
    color: white;
    font-weight: bold;
}

.rating-group input[value="7"]:checked+span {
    background-color: #4caf50;
    color: white;
    font-weight: bold;
}

.rating-group input[value="8"]:checked+span {
    background-color: #43a047;
    color: white;
    font-weight: bold;
}

.rating-group input[value="9"]:checked+span {
    background-color: #388e3c;
    color: white;
    font-weight: bold;
}

.rating-group input[value="10"]:checked+span {
    background-color: #2e7d32;
    color: white;
    font-weight: bold;
}

/* Hover colors to match gradient */
.rating-group label:nth-child(1):hover {
    background-color: rgba(211, 47, 47, 0.2);
}

.rating-group label:nth-child(2):hover {
    background-color: rgba(229, 57, 53, 0.2);
}

.rating-group label:nth-child(3):hover {
    background-color: rgba(244, 67, 54, 0.2);
}

.rating-group label:nth-child(4):hover {
    background-color: rgba(239, 83, 80, 0.2);
}

.rating-group label:nth-child(5):hover {
    background-color: rgba(255, 152, 0, 0.2);
}

.rating-group label:nth-child(6):hover {
    background-color: rgba(251, 140, 0, 0.2);
}

.rating-group label:nth-child(7):hover {
    background-color: rgba(76, 175, 80, 0.2);
}

.rating-group label:nth-child(8):hover {
    background-color: rgba(67, 160, 71, 0.2);
}

.rating-group label:nth-child(9):hover {
    background-color: rgba(56, 142, 60, 0.2);
}

.rating-group label:nth-child(10):hover {
    background-color: rgba(46, 125, 50, 0.2);
}

.question-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
}

.rating-card {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.background-gradient {
    background: linear-gradient(135deg, #0143a3, #0096c7);
    color: white;
    border: none !important;
}

.background-gradient h4 {
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Legend for color meanings */
.rating-legend {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    margin: 0 10px;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 5px;
}

.legend-low {
    background-color: #d32f2f;
}

.legend-medium {
    background-color: #ff9800;
}

.legend-high {
    background-color: #2e7d32;
}