/* Inside your site.css file */
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

html {
    font-size: 14px;
}

.container {
    max-width: 1600px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    font-family: 'Roboto', sans-serif;
}

footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: #fff;
    color: #fff;
    padding: 10px 0;
    text-align: center;
}
.sbbColorBg {
    background-color: #FF0000 !important;
}
.lpColorText {
    color: #AD0132 !important;
}

.row-disabled {
    background-color: rgba(236, 240, 241, 0.5) !important;
    pointer-events: none;
    width: 100%;
}

.border-lp {
    border: 1px solid #AD0132 !important;
}
.bg-lightgray {
    background-color: #F2F0EF !important;
}
.lpColorBg {
    background: #AD0132 !important;
    color: #fff !important;
}
.lpColorTitel {
    color: #AD0132;
}
.lpColorBg1 {
    background: #AD0132 !important;
}
.btn-lp {
    background-color: #ad0132;
    color: white;
}

.inline-check {
    width: 30%;
    white-space: nowrap;
}
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.error-border {
    border-color: red !important;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
}

.w-5 {
    width: 5% !important
}

.w-10 {
    width: 10% !important
}

.w-20 {
    width: 20% !important
}

.navbar {
    padding: 1.5rem 0;
}

.navbar-nav .nav-item {
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #AD0132;
    transition: width 0.3s ease;
}

.dropdown-menu {
    position: relative;
}
    /* Style for nav-link */
    .dropdown-menu .nav-link {
        position: relative; /* Ensure this is positioned */
        display: inline-block; /* Ensure this is inline-block */
        padding-bottom: 4px; /* Optional: Adds some space for the underline */
    }

        .dropdown-menu .nav-link::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background-color: #AD0132;
            transition: width 0.3s ease;
        }

.nav-link {
    width: 100%;
}

    .nav-link:hover::after {
        width: 100%;
    }

.navbar-nav .nav-item .nav-link:hover {
    color: #AD0132 !important;
    font-weight: bold;
}
.active-nav {
    color: #AD0132 !important;
    font-weight: bold;
    border-bottom:2px solid #ad0132;
}

.apexcharts-toolbar{
    display:none!important;
}

.overlay-content {
    background-color: rgba(255, 0, 0, 0.8);
    color: white;
    padding: 20px;
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 6px 20px rgba(0, 0, 0, 0.19);
    transform: perspective(500px) rotateY(10deg) skewX(0deg);
    height: 335px;
    display: grid;
    align-items: center;
    align-content: center;
    z-index: 2;
}
.smaller{
    font-size:14px;
}
.card-home:hover {
    transform: scale(1.02);
}
/*.overlay-box h2 {
    font-size: 24px;
    margin-bottom: 10px;
}
*/
table {
    width: 100%;
    border-collapse: collapse;
}

.table thead {
    background-color: #EC1B24;
    color: #fff;
}

.table th, .table td {
    padding: 10px;
    text-align: left;
}
.table tbody tr {
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}
.table tbody tr td {
    border-top: 1px solid #dee2e6;
}
hr{
    opacity:1!important
}
.red {
    color: #EC1B24;
}
.dark-red {
    color: #C70039;
}
.orange{
    color:orange
}
.dark-orange {
    color: #FF5733;
}
.yellow {
    color: yellow
}
.dark-yellow {
    color: #FFC300;
}
.green{
    color:lightgreen;
}
.dark-green {
    color: #50C878
}
.darkgreen {
    color: green;
}



.red-bg {
    background-color: #EC1B24 !important;
}
.orange-bg {
    background-color: orange !important;
}
.yellow-bg {
    background-color: yellow !important;
}
.green-bg {
    background-color: lightgreen !important;
}
.darkgreen-bg {
    background-color: green !important;
}



.red-d {
    color: #A1151A; /* Darker red */
}

.orange-d {
    color: #CC6600; /* Darker orange */
}

.yellow-d {
    color: #B3A125; /* Darker yellow */
}

.dark-yellow-d {
    color: #D1BF3A; /* Darker dark-yellow */
}

.green-d {
    color: #4C8C4C; /* Darker light green */
}

.darkgreen-d {
    color: #005500; /* Darker green */
}


.pointer{
    cursor:pointer;
}
.form-check-input:checked {
    background-color: #EC1B24 !important;
    border-color: #EC1B24 !important;
}
.border-left{
    border-left:1px solid #fff;
}
.border-right {
    border-right: 1px solid #fff;
}
.bg-secondary{
    background: lightgray!important;
    color: #000!important;
}

.bgred-card {
    background-color: #EC1B24;
    color: #fff;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #6c757d !important;
    border-color: #6c757d !important;
    background-color: #fff;
    border:1px solid;
}



/* Styling for the answers section */
.answers-section {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

/* Styling for the heading */


/* Styling for the answers container */
#answersContainer {
    /* No specific styling required */
}

/* Styling for each answer item */
.answer-item {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    transition: box-shadow 0.3s ease;
    display: flex;
    align-items: center;
}

    .answer-item:hover {
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    }

/* Styling for the input fields */
.input-group {
    display: flex;
    align-items: center;
    flex: 1;
}

.answer-input,
.type-input,
.points-input {
    flex: 1;
    margin-right: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 10px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

    .answer-input:focus,
    .type-input:focus,
    .points-input:focus {
        border-color: #007bff;
        outline: none;
    }

/* Styling for the checkbox */
.form-check-input {
    margin-right: 5px;
}

/* Styling for the trash icon container */
.btn-remove {
    padding: 0;
    margin-left: 10px;
}

/* Styling for the trash icon */
.remove-answer {
    cursor: pointer;
    color: #dc3545;
    font-size: 18px;
    transition: color 0.3s ease;
}

    /* Styling for the trash icon on hover */
    .remove-answer:hover {
        color: #c82333;
    }

.btn-check:active + .btn-outline-lp, .btn-outline-lp:hover, .btn-check:checked + .btn-outline-lp, .btn-outline-lp.active, .btn-outline-lp.dropdown-toggle.show, .btn-outline-lp:active {
    color: #fff;
    background-color: #ad0132;
    border-color: #ad0132 !important;
}

.table-seperate {
    border-collapse: separate;
    border-spacing: 0 10px;
}

#chartsContainer {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.blurred {
    filter: blur(5px);
    pointer-events: none; /* Prevent interactions */
}

/* Full-screen overlay (transparent background, sharp loader) */
#loadingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* Loader container (remains clear) */
.loading-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Page blur effect */
#pageBlur {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2); /* Light transparent overlay */
    backdrop-filter: blur(5px); /* Soft blur */
    display: none;
    z-index: 9998; /* Behind the loader */
}

/* Spinner animation */
.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(0, 0, 0, 0.1);
    border-top-color: #AD0132;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 10px auto;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}




.image-upload-card {
    width: 280px;
}

.image-dropzone {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    border: 2px dashed #e5e7eb;
    border-radius: 14px;
    background: #fafafa;
    cursor: pointer;
    transition: all 0.25s ease;
    overflow: hidden;
}

    .image-dropzone:hover {
        border-color: #AD0132;
        background: #f8f9ff;
    }

.placeholder-img {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #AD0132;
    font-size: 14px;
}

.preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-dropzone.loading {
    pointer-events: auto;
    opacity: 0.6;
}


.delete-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .2s ease;
}

.image-dropzone:hover .delete-btn {
    opacity: 1;
}

.delete-btn:hover {
    background: rgba(220, 38, 38, 0.85);
}


.upload-icon-hint {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #AD0132;
    pointer-events: none;
}



.upload-text-hint {
    margin-top: 6px;
    font-size: 13px;
    color: #6b7280;
    text-align: center;
}
