:root {
    --itp-magenta: #a31a7e;
    --itp-magenta-light: #cf42a9;
    --itp-magenta-85: #8a166b;
    --itp-magenta-75: #7a135e;
    --bs-focus-ring-color: #a31a7e;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

@media (min-width: 1520px) {}
.container-custom {
    max-width: 1440px;
}

html {
    position: relative;
    min-height: 100%;
    font-size: 16px;
}

body {
    margin-bottom: 60px;
    background: #f8f8f8;
    font-family: Archivo,Public Sans,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;
}

.btn-primary {
    display: inline-block;
    background: var(--itp-magenta);
    color: white;
    border-radius: 1.4rem;
    padding: .5rem 1.5rem;
    font-weight: bold;
    font-size: .98rem;
    border: 2px solid var(--itp-magenta);
    -webkit-appearance: none;
    text-align: center;
    line-height: 25px;
    text-decoration: none;
    transition: 0.2s;
}

    .btn-primary:hover, .btn-primary:focus {
        background: var(--itp-magenta-light);
        border-color: var(--itp-magenta-light);
    }

    .btn-primary:disabled {
        background: var(--itp-magenta-light);
        border-color: var(--itp-magenta-light);
        cursor: not-allowed;
        opacity: 0.6;
    }

.btn-outline-itp {
    color: #fff;
    background-color: var(--itp-magenta);
    border-color: var(--itp-magenta);
}

    .btn-outline-itp:hover {
        color: #fff;
        background: var(--itp-magenta-light);
        border-color: var(--itp-magenta-light);
    }

.inverted {
    background: transparent;
    color: var(--itp-magenta);
}

    .inverted:hover, .inverted:focus {
        background: var(--itp-magenta);
        border-color: var(--itp-magenta);
        color: white;
    }

    .inverted:disabled {
        background: transparent;
        color: var(--itp-magenta);
        cursor: not-allowed;
        opacity: 0.6;
    }

.form-box {
    max-width: 750px;
    background: #fff;
    padding: 35px 45px 30px;
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    margin-top: 20px;
    width: 100%;
}

.form-box-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.forgot-pw-wrapper {
    display: flex;
    justify-content: space-between;
}

.buttons{
    margin-top: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.footer-text {
    color: #adb5bd;
}

.tr-inactive {
    opacity: 0.5;
}

.scrollable-list {
    max-height: 200px;
    overflow-y: auto;
    position: relative;
}

.selectlist-searchbar {
   margin-bottom: 5px;
}

.card-body-filter{
    padding:0px;
}

.filter-form-group {
    margin-top: 10px;
    margin-bottom: 0px;
}

.uploaded-files-list {
    list-style-type: none;
    padding: 0;
}

    .uploaded-files-list li {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 10px;
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 5px;
        background-color: #f9f9f9;
    }

    .uploaded-files-list .file-info {
        display: flex;
        align-items: center;
    }

    .uploaded-files-list .file-icon {
        width: 24px;
        height: 24px;
        margin-right: 20px;
    }

    .uploaded-files-list .file-type {
        font-weight: bold;
        margin-right: 10px;
        display: block;
    }

    .uploaded-files-list .file-name {
        margin-right: 10px;
        display: block;
        word-wrap: break-word;
        word-break: break-word;
        white-space: normal;
    }

    .uploaded-files-list .delete-btn {
        background-color: #ff4d4d;
        color: white;
        border: none;
        padding: 5px 10px;
        border-radius: 3px;
        cursor: pointer;
    }

        .uploaded-files-list .delete-btn:hover {
            background-color: #e60000;
        }

.table-scroll {
    max-height: 300px;
    overflow: auto;
}

.dashboard-download-icons {
    display: flex;
    justify-content: space-between; /* Places elements on left & right */
    align-items: center; /* Align items vertically */
    margin-bottom: 0.5em;
}

.dashboard-download-icons i{
    font-size: 1.7em !important;
    text-align: right;
}

.dashboard-download-icons a {
    margin: 10px;
    display: inline-block;
    text-decoration: none;
}

.dashboard-specific-icons {
}

.dashboard-specific-icons i{
    font-size: 1.7em !important;
    text-align: right;
}

.dashboard-specific-icons a {
    margin-right: 10px;
    margin-left: 10px;
    display: inline-block;
    text-decoration: none;
}

.dashboard-license-info i,
.dashboard-license-info p {
    font-size: 2em !important;
    line-height: 1;
}

.dashboard-card{
    min-height: 180px;
}

.module-scroll-container {
    display: flex;
    max-width: 100%;
}

.module-card {
    width: 115px; /* Collapsed width */
    flex-shrink: 0; /* Prevent shrinking */
    transition: transform 0.3s ease, width 0.3s ease;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    cursor: pointer;
}

.module-card .extra-content {
    display: none; /* Hide initially */
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.module-card:hover .extra-content {
    display: block; /* Show on hover */
    opacity: 1;
}

.module-card h6.card-title {
    transform: rotate(-90deg);
    transform-origin: center;
    white-space: nowrap;
    margin-bottom: 2rem;
    font-size: larger;
}

/* Expand and show full content on hover */
.module-card:hover {
    width: 250px; /* Expanded width */
    height: auto;
    transform: scale(1);
}

.module-card:hover .card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.module-card .card-body {
    justify-content: flex-end;
}

.module-card:hover h6.card-title {
    transform: rotate(0deg); /* Back to normal */
    position: static;
    margin-top: 0;
    font-size: large;
}

.active-language {
    font-weight: bold;
    text-decoration: underline;
    color: #007bff; /* Bootstrap primary blue (adjust as needed) */
}

.spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 0.15em solid rgba(0, 0, 0, 0.1);
    border-top-color: #000;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin-right: 0.5rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.hover-zoom {
    -webkit-transition: all .2s ease;
    -moz-transition: all .2s ease;
    -o-transition: all .2s ease;
    -ms-transition: all .2s ease;
    transition: all .2s ease;
    overflow: hidden;
}

    .hover-zoom:hover {
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        -webkit-transform: translateZ(0) scale(1.20);
        -moz-transform: scale(1.20);
        -ms-transform: scale(1.20);
        -o-transform: translatZ(0) scale(1.20);
        transform: translatZ(0) scale(1.20);
    }