﻿/* Custom styles for left-aligned dropdown arrows */
.form-select {
    padding-left: 2.25rem;
    padding-right: 2.25rem;
    background-position: left 0.75rem center;
    background-size: 12px 12px;
}

    .form-select:focus {
        background-position: left 0.75rem center;
    }

/* RTL support for select elements */
[dir="rtl"] .form-select {
    padding-left: 0.75rem;
    padding-right: 2.25rem;
    background-position: right 0.75rem center;
}

    [dir="rtl"] .form-select:focus {
        background-position: right 0.75rem center;
    }


/* Page Blocker Styles */
.page-blocker {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    display: none;
}

    .page-blocker.active {
        display: flex;
    }

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

body.blocked {
    overflow: hidden;
}

/* Custom radio button styles */
.terms-radio {
    width: 20px;
    height: 20px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 2px solid #6c757d;
    border-radius: 50px;
    outline: none;
    cursor: pointer;
    position: relative;
    margin: 0;
    transition: all 0.2s ease;
}

    .terms-radio:checked {
        background-color: #31c832;
        border-color: #31c832;
    }

        .terms-radio:checked::after {
            content: '✓';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: white;
            font-size: 14px;
            font-weight: bold;
            line-height: 1;
        }

.terms-radio-label {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.2s ease;
}
/*
    .terms-radio-label:hover {
        color: #198754;
    }*/

        .terms-radio-label:hover .terms-radio:not(:checked) {
            border-color: #198754;
        }




/* Style for terms section headers */
#termsSection h5 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

#termsSection h6 {
    font-size: 0.95rem;
    margin: 1rem 0 0.5rem 0;
    font-weight: 600;
}

.terms-subheader {
    color: #212529;
    font-weight: 800;
    font-size: 0.95rem;
    margin: 1rem 0 0.5rem 0;
}


@media (min-width: 1200px) {
    .layout-menu-fixed:not(.layout-menu-collapsed) .layout-page,
    .layout-menu-fixed-offcanvas:not(.layout-menu-collapsed) .layout-page {
        margin: 20px auto !important;
    }
}

.layout-page {
    align-items: flex-start !important;
    justify-content: flex-start !important;
    flex: auto !important;
}
