.card {
    border-radius: 16px;
}

.card-body {
    padding: 1rem 0.75rem;
}

.form-floating > .form-control {
    padding: 0 10px;
    height: 40px;
    line-height: 1;
}

input[type=text] {
    padding: 10px !important;
    margin: 0 !important;
    height: 40px;
    max-width: 100%;
    border-radius: 4px !important;
}
input[type=email] {
    padding: 10px !important;
    margin: 0 !important;
    height: 40px;
    max-width: 100%;
    border-radius: 4px !important;
}

.form-floating > label {
    padding: 6px 6px 0;
    left: 10px;
    opacity: .2;
}

.form-floating > .form-control:focus {
    box-shadow: none;
}

.form-floating > .form-control:focus ~ label, .form-floating > .form-control:not(:placeholder-shown) ~ label, .form-floating > .form-select ~ label {
        opacity: 1;
        transform: scale(.85) translateY(-19px) translateX(1px);
        background: #fff;
        height: auto;
        border-radius: 30px;
    }

.form-floating > .mb-3 {
    margin-bottom: 1rem !important;
}
.form-floating > .form-control:focus, .form-floating > .form-select:not(:placeholder-shown) {
    height: 40px;
    line-height: 1.5;
    padding-top: 10px;
    padding-bottom: 10px;
}

table td,
table th {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

thead th {
    color: #fff;
}

.table-scroll {
    border-radius: .5rem;
}

.table-scroll table thead th {
        font-size: 1.25rem;
    }

thead {
    top: 0;
    position: sticky;
}

.card-header {
    padding: 0px;
    background-color: #f1ecea;
}

.card-header:first-child {
        border-radius: calc(1rem - 1px) calc(1rem - 1px) 0 0;
    }

.card-footer:last-child {
    border-radius: 0 0 calc(1rem - 1px) calc(1rem - 1px);
}

.card-title {
    margin-bottom: 0px;
    color: #5f15bd;
    letter-spacing: 1px;
    text-shadow: 0px 0px 1px #252525;
    mix-blend-mode: multiply;
}

.card-footer {
    background-color: #f1ecea;
    color: #5f15bd;
    letter-spacing: 0.5px;
    text-shadow: 0px 0px 1px #252525;
    mix-blend-mode: multiply;
}

/* Adjust position for different devices */
@media (min-width: 992px) {
    main {
        padding-bottom: 1rem !important;
    }
    .custom-card {
        width: 100%;
        border: 1px solid #f1ecea;
        padding: 0px;
    }

    .container-fluid {
        padding: 1rem;
    }
}

@media (max-width: 991.98px) {
    main {
        padding-bottom: 6rem !important;
        margin-top: 0px;
    }
    .container-fluid {
        padding: 0rem;
    }

    .custom-card {
        width: 100%;
        max-width: 100%;
        margin: 0px 0px !important;
        border: none;
        border-radius: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .card-header {
        border-radius: 0px;
    }
}