﻿
@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

:root {
    --brand-primary: #1a434e;
    --brand-secondary: #1a434e;
    --brand-tertiary: #f5c4a2;
}

html, body {
    /*    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;*/
    /*    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;*/
    /*    
    font-weight: 400;
    color: #2b2b2b;
    color: #636363;*/
    font-size: 13px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "SF Pro Text", Roboto, Helvetica, Arial, sans-serif;
    letter-spacing: 0.2px;
    width: 100% !important;
    /*overflow-x: hidden;*/
    /*    overflow-y: scroll;*/
}

.specialbutton {
    margin-left: calc(var(--bs-gutter-x)* .2) !important;
}

#updatebtn:hover, #backbtn:hover {
    background: #ffffff;
    border: 1px solid #1a434e;
    border-radius: 4px;
    font-weight: 400;
    color: #1a434e;
    padding: 8px 10px;
    font-size: 0.9rem;
    margin-right: 5px;
    margin-top: 6px;
}

#updatebtn, #backbtn {
    background: #1a434e;
    border: 1px solid #1a434e;
    border-radius: 4px;
    font-weight: 400;
    color: #fff;
    margin-right: 5px;
    font-size: 0.9rem;
    padding: 8px 10px;
    margin-top: 6px;
}

#btnsecondary:hover, .btnsecondary:hover, .btn-default:hover {
    background: #ffffff;
    border: 1px solid var(--brand-secondary);
    border-radius: 4px;
    font-weight: 400;
    color: var(--brand-secondary);
    padding: 8px 10px;
    font-size: 1.1rem;
    margin-right: 5px;
}

#btnsecondary, .btnsecondary, .btn-default {
    background: var(--brand-secondary);
    border: 1px solid var(--brand-secondary);
    border-radius: 4px;
    font-weight: 400;
    color: #fff;
    margin-right: 5px;
    font-size: 1.1rem;
    padding: 8px 10px;
}

.nav-tabs .nav-link.active {
    color: #495057;
    background-color: #fff;
    border-color: #dee2e6 #dee2e6 #fff;
    border-color: #5f368d;
    border-bottom: 3px solid #1a434e;
}

.nav-tabs .nav-link {
    /* border: 1px solid transparent; */
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
    border-width: 0 0 3px 0;
}

h6 {
    text-align: right;
}

.cmb-10 {
    margin-bottom: 10px;
}

#quantityfield, #barcodefield {
    border-bottom: 2px solid #1a434e;
    border-left: 0px;
    border-right: 0px;
    border-top: 0px;
    /*border-radius: 10px;*/
}

input [type="text"], #quantityfield, #barcodefield {
    outline: 0 !important;
    box-shadow: none;
    text-align: center;
}


#searchbarbtn {
    background: #1a434e;
    border: 1px solid #1a434e;
    border-radius: 40px;
    font-weight: 600;
    color: #fff;
    margin-left: 15px;
}

    #searchbarbtn:hover {
        background: #fff;
        color: #1a434e;
        border: 1px solid #1a434e;
    }

.row.sopickinglines {
    margin-bottom: 30px;
}

.row.sopickinglines h4 {
    margin-bottom: 0px;
}



.table {
    color: #636363 !important;
}

.userinitials {
    font-weight: 900;
    background: #fff;
    padding: 6px;
    border-radius: 20px;
    color: #1a434e;
}

.userinitials:hover {
    color: #1a434e;
    text-decoration: none;
}

.sidebar[b-6izfpeqxma] {
    /*    background: #f8f8f8 !important;
    border-left: 3px solid #1a434e !important;
    border-right: 3px solid #1a434e !important;*/
}

a, .btn-link {
    color: #0366d6;
}

.login h2 {
    margin-bottom: 30px;
    padding: 10px;
    color: #636363;
    /*box-shadow: 0 10px 30px 0 rgb(0 0 0 / 8%);*/
    font-size: 22px;
}

/*::-webkit-input-placeholder {
    text-align: center;
}*/

/*.login-form-wrapper {
    padding: 40px;
    box-shadow: 0 10px 30px 0 rgb(0 0 0 / 8%);
    margin-top: 50px;
}*/

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/*.fa-refresh:before {
    content: "\f021";
    font-weight: 900;
    background: #fff;
    padding: 8px;
    border-radius: 20px;
    color: #1a434e;
    margin: 0px;
}*/

.nav-item a.active {
    background-color: #f8f8f8 !important;
    color: var(--brand-primary) !important;
}

.main-col {
    padding: 0px !important;
}

#searchbox {
    border-bottom: 2px solid #1a434e;
    border-left: 0px;
    border-right: 0px;
    border-top: 0px;
}
/*.content {
    padding-top: 1.1rem;
}*/
.loader-wrapper {
    padding: 50% 0;
    text-align: center;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.login-form-wrapper {
    margin-top: 60px;
}

.login-footer {
    margin-top: 100px;
}
/* -------------------------------------------------- */
/* LOGIN PAGE */
/* -------------------------------------------------- */

.login-page-div {
    display: flex;
    width: 100%;
    justify-content: center;
    height: 100vh;
    align-items: center;
}

.login-page-details {
    display: grid;
    grid-template-columns: 1fr;
    border-radius: 6px;
    border: 1px solid lightgray;
    background-color: white;
    max-height: 800px;
    width: 350px;
    padding: 45px;
    gap: 70px;
    justify-content: space-around;
    user-select: none;
    text-align: center;
}

.login-page-footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.login-form {
    display: grid;
    gap: 45px;
}

.login-customer-logo {
    max-width: 240px;
}
.st-pbtn {
    padding: 0.7rem 1.2rem;
    display: flex;
    gap: 10px;
    /*background-color: var(--brand-secondary);*/
    background-color: #575757;
    color: white;
    font-size: 1.2rem;
    height: 50px !important;
    width: fit-content;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    align-items: center;
}

    .st-pbtn:hover {
        box-shadow: 0 2px 6px #575757;
    }
#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

/*.containers {
    margin-top: 5%;
    margin-bottom: 5%;
}*/


input [type="text"], #searchbox {
    outline: 0 !important;
    box-shadow: none;
}

/*input::-webkit-input-placeholder {
    text-align: center
}*/

.table td, .table th {
    padding-left: 1rem;
    padding-right: 1rem;
}

.table-pointer tbody tr {
    cursor: pointer;
}

.page-item.active .page-link {
    background-color: #1a434e;
    border-color: #1a434e;
    color: #fff !important;
}
.page-link {
    color: #636363 !important;
}

h4 {
    font-size: inherit !important;
    font-weight: 600;
    margin-bottom: 5px;
}

.card-body{
    padding: 5px !important;
}

[role=tab] span {
    color: #495057 !important;
}
.nav-tabs {
    border: 1px solid #dee2e6 !important;
}
/*@media (min-width: 641px) {
    .sidebar[b-1gsd14h1ov] {
        height: unset !important;
    }
}
*/
.dxbl-text-edit.dxbl-lg {
    --dxbl-text-edit-line-height: 2 !important;
    font-size: 12px !important;
}

.input-group-prepend {
    margin-right: -1px;
}
.input-group-append, .input-group-prepend {
    display: -ms-flexbox;
    display: flex;
}
.loader-wrapper {
    padding: 50% 0;
    text-align: center;
}
.loginfield:focus {
    outline: none;
}

.splash-screen {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column nowrap;
    height: 100vh;
    font-family: "Segoe UI",Roboto,"Helvetica Neue","-apple-system",BlinkMacSystemFont,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
    font-size: .88rem;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
}

    .splash-screen .spinner-border {
        border: .2em solid;
        border-color: var(--brand-primary) #bfbfbf #bfbfbf;
        border-radius: 60px;
        width: 120px;
        height: 120px;
    }

.splash-screen-caption {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 1.5rem;
}

.splash-screen-text {
    color: #a1a1a1;
    margin-top: .5rem;
}
.dxbl-grid .dxbl-grid-table > tbody > tr > td,
.dxbl-grid .dxbl-grid-table > tbody > tr > th{
    line-height: 2rem !important;
}
.cw-320 {
    max-width: 450px;
}

.blazored-typeahead {
    width: 320px;
    max-width: 450px;
}
.card-h4 {
    background-color: #efefef;
    padding: 9px;
    max-width: 590px;
    border-radius: 2px;
    border: 1px solid #efefef;
    margin-bottom: 15px;
    margin-top: 31px;
}
@media (min-width: 576px) {
    .blazored-toast-container {
        top: 0rem;
        right: 0rem;
    }
}

@media (min-width: 641px) {
    .main-col h4, h4span {
        margin-top: 0px;
    }
    .card-h4 {
        max-width: 75%;
    }
}
@media (min-width: 800px) {
    .main-col h4, h4span {
        margin-top: 0px;
    }

    .card-h4 {
        max-width: 800px;
    }
}
@media (max-width: 640.98px) {
    .top-row:not(.auth)[b-6izfpeqxma] {
        display: flex !important;
    }

    .cw-320 {
        max-width: 700px;
    }
    .blazored-typeahead {
        max-width: 700px;
    }
    .card-h4 {
        max-width: 100%;
    }
}

/*@media (max-width: 1024px) {
    .top-row:not(.auth)[b-6izfpeqxma] {
        display: flex !important;
    }

    .cw-320 {
        max-width: 700px;
    }

    .blazored-typeahead {
        max-width: 700px;
    }

    .card-h4 {
        max-width: 100%;
    }
}*/


@media (max-width: 768px) {
    h2 {
        font-size: 20px;
    }

    .cw-320 {
        max-width: 700px;
    }
    .blazored-typeahead {
        max-width: 700px;
    }
    .card-h4 {
        max-width: 100%;
    }
}
.modal {
    z-index: 1050;
}

.modal-backdrop {
    z-index: 1040;
}

.custom-dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.custom-dialog-content {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px black;
    width: 32%;
}

.custom-dialog-footer {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}


.container {
    display: grid;
    gap: 6px;
    /*background: #eee;*/
    /*margin-bottom: 20px;*/
}

    .container.one img {
        width: 100%;
        height: 100%;
/*        max-width: 100%;
        max-height: 100%;*/
        object-fit: cover;
    }

    .container.two {
        grid-template-columns: 1fr 1fr;
    }

        .container.two img {
            width: 100%;
            height: 100%;
/*            max-width: 90%;
            max-height: 90%;*/
            object-fit: cover;
        }

    .container.three {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
    }

        .container.three img:nth-child(1) {
            grid-column: 1;
            grid-row: 1;
        }

        .container.three img:nth-child(2) {
            grid-column: 1;
            grid-row: 2;
        }

        .container.three img:nth-child(3) {
            grid-column: 2;
            grid-row: 1 / span 2;
        }

        .container.three img {
            width: 100%;
            height: 100%;
/*            max-width: 90%;
            max-height: 90%;*/
            object-fit: cover;
        }

.card-view-item {
    border-radius: 5px;
    padding: 5px;
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 92%;
    background-color: white;
    border: 1px solid #EDEDED;
/*    padding-bottom: 15px;*/
    cursor: pointer;
    height: 100%;
}

    .card-view-item:hover {
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    }

.card-view-product-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 10px;
}

.card-view-status-column {
    padding: 8px;
    border-radius: 5px;
    width: 92%;
    color: white;
    height: fit-content;
    display: flex;
    align-items: center;
    justify-content: space-around;
    opacity: 0.7;
    margin-top: 4%;
}

.date-header {
    color: white;
}

.status-header {
    display: flex;
    gap: 8%;
    align-items: center;
    width: 60%;
}

.product-image-orders {
    width: 100%;
    height: 100%;
    object-fit: contain;
    margin-top: 7%;
}

.order-images {
    border: 1px solid lightgray;
    border-radius: 5px;
}

.order-number {
    font-size: 18px;
    max-width: 93%;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

.order-details {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.order-card-footer {
    display: flex;
    width: 95%;
    margin-top: 10px;
    margin-left: 5px;
}

.order-img-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.reorder-btn {
    width: 100%
}

.general-text {
    font-size: 16px;
}


.product-details-container {
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.dialog {
    /*         display: none;
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
        margin-top: 5px; */

    display: none;
    position: absolute;
    top: -25%;
    right: 105%;
    z-index: 1000;
    margin-top: 5px;
}

    .dialog.show {
        display: block;
    }

.dialog-content {
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    min-width: 200px;
}

.dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.close-button {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 0 5px;
}

.dialog-body {
    font-size: 14px;
}

.confirm-button {
    background-color: darkorange;
}

.show-order {
    display: block;
}

.modal-header-container {
    display: flex;
    justify-content: space-between;
}

.trash-button {
    border: none;
    background: none;
    padding: 8px 12px;
    cursor: pointer;
    color: #666;
}

.empty-div {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 15%;
    width: 100%;
}

.centered-item {
    display: flex;
    justify-content: center;
}



.variant-info {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 5px;
    max-width: 95%;
}

.variant-info-modal {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 5px;
    max-width: 95%;
}

.standard-logo {
    width: 140px;
}

/* ----------------------------- */
        /* PAGE HEADER */
/* ----------------------------- */

.page-header-div {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(180deg, var(--brand-secondary) 0%, var(--brand-tertiary) 50%);
}

.page-header {
/*    margin-top: 35px;
    margin-bottom: 35px;*/
    display: flex;
    width: 90%;
    align-items: center;
    justify-content: space-between;
}

.logo-div {
    width: 14%;
    display: flex;
    justify-content: flex-start;
    padding: 20px;
}

    .logo-div img {
        height: auto;
        width: 70%;
    }

@media (max-width: 1600px) {
    .logo-div {
        width: 20%;
    }
}

@media (max-width: 1000px) {
    .logo-div {
        width: 25%;
    }
}

@media (max-width: 750px) {
    .logo-div {
        width: 35%;
    }
}

.view-toggle {
    display: flex;
    justify-content: flex-end;
}

.toolbar-right {
    display: flex;
    align-items: center;
    gap: 20%;
}

.edit-form {
    /*         width: 5%;
        border-radius: 5px; */
    display: flex;
    border: 2px solid var(--brand-secondary);
    border-radius: 5px;
    /*         align-items: center;
        position: relative;
        right: 16%;
        bottom: -12px; */
}

.cart-container {
    border-radius: 10px;
    padding: 15px;
    display: flex;
    background-color: var(--brand-secondary);
    color: white;
    width: 60px;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
}

.info-container {
    display: none;
    border-radius: 10px;
    padding: 15px;
    /*display: flex;*/
    background-color: var(--brand-secondary);
    color: white;
    width: 60px;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
}

/* ----------------------------- */
        /* CARD VIEW */
/* ----------------------------- */

.grid-header-div {
    width: 90%;
    max-width: 90%;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    gap: 1%;
    margin-top: 50px;
}

.card-view-div {
    width: 90%;
    max-width: 90%;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    padding: 8px;
    row-gap: 1.6%;
    justify-items: center;
    background-color: white;
    margin-bottom: 135px;
    margin-top: 72px;
}

@media (max-width: 1200px) {
    .card-view-div {
        grid-template-columns: 1fr 1fr 1fr;
        margin-bottom: 175px;
    }
}

@media (max-width: 800px) {
    .card-view-div {
        grid-template-columns: 1fr 1fr;
        row-gap: 0.6%;
    }
}

@media (max-width: 500px) {
    .card-view-div {
        grid-template-columns: 1fr;
    }
}

/* ================================================== */
                   /* View Switch */
/* ================================================== */

.radio-button {
    cursor: pointer;
    font-size: 16px;
    width: 45px;
    border: 2px solid transparent;
    display: flex;
    padding-right: 6px;
    align-items: center;
    justify-content: center;
}

    .radio-button.selected {
        background-color: var(--brand-secondary);
        color: white; 
    }

.hidden-radio {
    display: none;
}

.radio-button i {
    font-size: 24px;
    margin-left: 5px;
}

.radio-button:hover {
    background-color: var(--brand-secondary);
    color: white; 
}


/* ================================================== */
                /* Quantity Control */
/* ================================================== */

.quantity-control-modal {
    display: flex;
    align-items: center;
    width: 65%;
    border: 2px solid var(--brand-secondary);
    border-radius: 4px;
    background-color: var(--brand-secondary);
    justify-content: space-evenly;
    font-size: 17px;
}

    .quantity-control-modal button {
        border: none;
        background: none;
        padding: 8px 12px;
        cursor: pointer;
        color: white;
        font-size: 17px;
        width: 35%;
    }

    .quantity-control-modal input {
        width: 30%;
        border: none;
        text-align: center;
        font-size: 17px;
        background-color: var(--brand-secondary);
        color: white;
        height: 35px;
    }

.quantity-control-buttons {
    width: 40px;
    border: none;
    text-align: center;
    font-size: 17px;
    background-color: var(--brand-secondary);
    color: white;
    border-radius: 5px;
    margin-left: 2px;
}

.popup-grid-buttons {
    width: 40px;
    border: none;
    text-align: center;
    font-size: 17px;
    background-color: var(--brand-secondary);
    color: white;
    height: 39px;
    border-radius: 5px;
    margin-left: 2px;
}


.quantity-control-cart {
    display: flex;
    align-items: center;
    width: 50%;
    border: 2px solid var(--brand-secondary);
    border-radius: 4px;
    background-color: var(--brand-secondary);
    justify-content: space-evenly;
    font-size: 17px;
}

    .quantity-control-cart button {
        border: none;
        background: none;
        padding: 8px 12px;
        cursor: pointer;
        color: white;
        font-size: 17px;
        width: 35%;
    }

    .quantity-control-cart input {
        width: 100%;
        border: none;
        text-align: center;
        font-size: 17px;
        background-color: var(--brand-secondary);
        color: white;
        height: 35px;
    }

/* ================================================== */
                    /* General */
/* ================================================== */

.centered-header {
    display: flex;
    justify-content: center;
}


.top-right-div {
    width: fit-content;
    display: flex;
    justify-content: center;
    gap: 3%;
}

/* ================================================== */
                     /* Info Popup */
/* ================================================== */

.info-modal {
    background-color: white;
    width: 35%;
    height: fit-content;
    border-radius: 9px;
    border: 3px solid #f4f4f4;
    padding: 10px;
}

/* ================================================== */
                    /* Orders Page */
/* ================================================== */

@media (max-width: 1400px) {

    .order-details-container {
        width: 65% !important;
    }
}

@media (max-width: 1024px) {

    .dx-floating-label {
        width: 100px;
    }

/*    .dx-select {
        width: 100px;
    }*/

        .dx-select input {
            width: 70px;
        }

    .order-details-container {
        width: 85% !important;
    }
}

@media (max-width: 600px) {

/*    .grid-container {
        width: 100%;
    }
*/
    .order-details-container {
        width: 95% !important;
        flex-direction: column;
        max-height: 600px;
        overflow: auto;
    }

    .right-section {
        max-height: unset !important;
    }

    .order-details-body {
        flex-direction: column;
    }

    .order-details-left {
        width: 100% !important;
    }

    .order-details-right {
        width: 100% !important;
        margin-top: 10px;
    }
}

@media (min-width: 1925px) {

    .grid-container-orders {
        max-width: 1300px;
    }
}

/*
warehouse shit*/

.warehouse-instock-div {
    display: flex;
    gap: 5px;
    width: 100%;
    align-items: center;
}

.warehouse-tag-modal {
    padding: 6px;
    background-color: #f4f4f4;
    border-radius: 5px;
    width: fit-content;
    display: flex;
    justify-content: center;
}
/*
confirmed prod app shi*/

/*         progress bar */

.progress-bar-wrapper {
    width: 100%;
    font-family: Arial, sans-serif;
    user-select: none;
}

.progress-bar-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.progress-static-text {
    display: block;
    /* text-align: center; */
    color: #999;
    font-size: 0.85rem;
    margin-bottom: 4px;
    user-select: none;
}

.progress-bar {
    position: relative;
    height: 10px;
    background: #eee;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.2);
}

.progress-bar-text-div {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
}

.progress-bar-header {
    font-size: 1.2rem;
}

.progress-bar-text {
    font-size: 1.1rem;
    font-weight: 600;

}

.progress-bar-sub-text {
    font-size: 1rem;

}

.progress-bar-fill {
    height: 100%;
    width: 0;
    background: var(--brand-secondary);
    border-radius: 4px 0 0 4px;
    transition: width 0.5s ease;
    user-select: none;
}

.progress-percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
    font-size: 1rem;
    color: white;
    pointer-events: none;
    user-select: none;
    text-shadow: 0 0 3px rgba(0,0,0,0.6); /* improve readability */
}


/*Comments*/

.user-message {
    width: 100%;
    display: flex;
    justify-content: space-between;
    /* margin-bottom: 10px; */
    align-items: baseline;
    line-break: anywhere;
}

.recipient-message {
    width: 100%;
    display: flex;
    justify-content: right;
    /* margin-bottom: 10px; */
    align-items: baseline;
    line-break: anywhere;
}

/*Timer*/
.circular-progress {
    position: relative;
    width: 100%;
    height: 200px;
    display: flex;
    margin-bottom: 30px;
    justify-content: center;
    margin-top: 10px;
}

.progress-ring {
    transform: rotate(0deg);
}

.progress-ring-circle {
    transition: stroke-dashoffset 0.5s ease, stroke 0.3s ease;
    stroke-linecap: round;
}

.timer-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.time-separator {
    font-size: 18px;
    color: #999;
    margin: 2px 0;
}

.expected-time {
    color: #666;
    font-size: 18px;
}

.button-group {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn {
    padding: 12px 32px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

    .btn:hover:not(:disabled) {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .btn:active:not(:disabled) {
        transform: translateY(0);
    }

    .btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

.btn-start {
    background-color: #28a745;
    color: white;
}

    .btn-start:hover:not(:disabled) {
        background-color: #45a049;
    }

.btn-stop {
    background-color: #dc3545;
    color: white;
}

    .btn-stop:hover:not(:disabled) {
        background-color: #dc3545;
    }

/* ================================================== */
/* ST Text area */
/* ================================================== */

.st-text-area {
    position: relative;
    display: inline-block;
    width: 100%;
    font-family: inherit;
    height: 50px;
}

    .st-text-area input {
        width: 100%;
        padding: 12px 8px;
        font-size: 16px;
        border: 1px solid #ccc;
        border-radius: 6px;
        outline: none;
        background: white;
        transition: border-color 0.2s ease;
        padding-left: 15px;
    }

        .st-text-area input:focus {
            border-color: var(--brand-secondary); /* Accent color */
        }

    /* TextArea styles - matching input styles */
    .st-text-area textarea {
        width: 100%;
        padding: 12px 8px;
        font-size: 16px;
        border: 1px solid #ccc;
        border-radius: 6px;
        outline: none;
        background: white;
        transition: border-color 0.2s ease;
        padding-left: 15px;
        padding-top: 15px;
        font-family: inherit;
        resize: vertical; /* Allows vertical resize only */
        min-height: 100px;
    }

        .st-text-area textarea:focus {
            border-color: var(--brand-secondary);
        }

    .st-text-area label {
        position: absolute;
        top: 20%;
        left: 15px;
        transform: translateY(-50%);
        background: transparent;
        padding: 0 4px;
        color: #888;
        font-size: 16px;
        pointer-events: none;
        transition: all 0.2s ease;
        border-radius: 4px;
    }

    /* Float label when input has focus or value */
    .st-text-area input:focus + label,
    .st-text-area input:not(:placeholder-shown) + label {
        top: 0px;
        left: 15px;
        font-size: 12px;
        color: var(--brand-secondary);
        background: white;
        /*border: 1px solid var(--brand-secondary);*/
    }

    /* Float label when textarea has focus or value */
    .st-text-area textarea:focus + label,
    .st-text-area textarea:not(:placeholder-shown) + label {
        top: 0px;
        left: 15px;
        font-size: 12px;
        color: var(--brand-secondary);
        background: white;
    }

    /* Validation error states for input */
    .st-text-area input.validation-error:focus + label,
    .st-text-area input.validation-error:not(:placeholder-shown) + label {
        color: #dc3545;
    }

    /* Validation error states for textarea */
    .st-text-area textarea.validation-error:focus + label,
    .st-text-area textarea.validation-error:not(:placeholder-shown) + label {
        color: #dc3545;
    }

    .st-text-area.validation-error .st-text-area label {
        color: #dc3545;
    }

.validation-error {
    border-color: #dc3545 !important;
    background-color: #fff3f3 !important;
}

.validation-message {
    color: #dc3545;
    font-size: 12px;
    margin-top: 4px;
    margin-left: 15px;
    display: flex;
    gap: 10px;
    position: absolute;
    top: -32px;
    right: 8px;
    align-items: baseline;
    padding: 5px;
}

/* Adjust floating-input height for textarea containers */
.st-text-area:has(textarea) {
    height: auto;
    min-height: 100px;
}



/* ================================================== */
/* Floating Label Input */
/* ================================================== */

.floating-input {
    position: relative;
    display: inline-block;
    width: 100%;
    font-family: inherit;
    height: 50px;
}

    .floating-input input {
        width: 100%;
        padding: 12px 8px;
        font-size: 16px;
        border: 1px solid #ccc;
        border-radius: 6px;
        outline: none;
        background: white;
        transition: border-color 0.2s ease;
        padding-left: 15px;
    }

        .floating-input input:focus {
            border-color: var(--brand-secondary); /* Accent color */
        }

    .floating-input label {
        position: absolute;
        top: 50%;
        left: 15px;
        transform: translateY(-50%);
        background: transparent;
        padding: 0 4px;
        color: #888;
        font-size: 16px;
        pointer-events: none;
        transition: all 0.2s ease;
        border-radius: 4px;
    }

    /* Float label when input has focus or value */
    .floating-input input:focus + label,
    .floating-input input:not(:placeholder-shown) + label {
        top: 0px;
        left: 15px;
        font-size: 12px;
        color: var(--brand-secondary);
        background: white;
        /*border: 1px solid var(--brand-secondary);*/
    }

    .floating-input input.validation-error:focus + label,
    .floating-input input.validation-error:not(:placeholder-shown) + label {
        color: #dc3545;
    }

    .floating-input.validation-error .floating-input label {
        color: #dc3545;
    }

.validation-error {
    border-color: #dc3545 !important;
    background-color: #fff3f3 !important;
}

.validation-message {
    color: #dc3545;
    font-size: 12px;
    margin-top: 4px;
    margin-left: 15px;
    display: flex;
    gap: 10px;
    position: absolute;
    top: -32px;
    /* left: 0px; */
    right: 8px;
    align-items: baseline;
    padding: 5px;
}
