@font-face {
    font-family: 'YekanBakhFaNum';
    src: url('../../assets/YekanBakhFaNum-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'YekanBakhFaNum', sans-serif;
    /* Apply the font to the body */
    direction: rtl;
    /* Set the text direction to right-to-left */
    font-size: 12pt;
    /* Global font size */
    padding-left: 20px;
    padding-right: 15px;
    padding-top: 20px;
    padding-bottom: 20px;
    overflow: auto;
}

/* Hide scrollbars for all elements */
* {
    scrollbar-width: none; /* For Firefox */
    -ms-overflow-style: none; /* For Internet Explorer and Edge */
}

/* Hide scrollbars for WebKit browsers (Chrome, Safari) */
*::-webkit-scrollbar {
    display: none;
}

button {
    -webkit-appearance: none; /* Remove default iOS styles */
    appearance: none; /* For cross-browser support */
    color: inherit; /* Use the inherited text color */
    background-color: inherit; /* Ensure background color doesn't change */
    border: none; /* Remove any default borders */
  }

/* Styles for input fields */
.text-input {
    border: none;
    border-radius: 36px;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 10px;
    padding-right: 10px;
    font-size: 14pt;
    width: 90%;
    max-width: 90%;
    text-align: center;
    font-family: 'YekanBakhFaNum', sans-serif;
    font-weight: bold;
    outline: none;
    transition: box-shadow 0.3s ease;
    background-color: #747474;
    /* Background color for managers */
    color: whitesmoke;
    /* Text color for better contrast */
}

/* Add white glow effect on focus */
.text-input:focus {
    box-shadow: 0 0 8px 2px rgba(255, 255, 255, 0.8);
    /* White glow */
}

/* Input container styling */
.input-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
    flex-wrap: wrap;
}

label {
    color: black;
    font-weight: bold;
    width: 90%;
    text-align: center;
    font-size: 16pt;
    margin-top: 6px;
    flex: 1;
    white-space: nowrap;
}

/* Disable zooming */
html,
body {
    touch-action: manipulation;
    -ms-touch-action: manipulation;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

button {
    font-family: 'YekanBakhFaNum', sans-serif;
    font-weight: bold;
    text-align: center;
    width: 80%;
    margin-top: 15px;
    height: 50px;
    color: whitesmoke;
    background-color: #999999;
    border-radius: 50px;
    overflow: hidden;
    height: 45px;
    border: aliceblue;
    position: relative;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}

  @media screen and (orientation: landscape) {
    .input-container {
        display: flex;
        align-items: center;
        height: 100%;
        justify-content: center;
        flex-wrap: wrap;
        flex-wrap: wrap;
        align-content: center;
    }
}

/* Disable zooming */
html,
body {
    touch-action: manipulation;
    -ms-touch-action: manipulation;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}