@font-face {
    font-family: 'YekanBakhFaNum';
    src: url('../../assets/YekanBakhFaNum-Regular.woff2') format('woff2');
}

body {
    font-family: 'YekanBakhFaNum', sans-serif;
    direction: rtl;
    font-size: 12pt;
    margin: 0;
    height: 100vh; /* Full height */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: auto; /* Hide overflow */
}

/* 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 */
  }

p {
    font-family: 'YekanBakhFaNum', sans-serif;
    font-size: 12pt;
    font-weight: bold;
    direction: rtl;
}

/* Center the remote-section */
.remote-section {
    width: 90%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

/* Relay item styles */
.remote-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    gap: 10px;
    width: 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;
}
/* Label styles with equal width */
.remote-label {
    flex: 1;
    color: black;
    font-weight: bold;
    white-space: nowrap;
    text-align: right;
    font-family: 'YekanBakhFaNum', sans-serif;
    font-weight: bold;
}

/* Time label and radio label styles */
.time-label,
.radio-label {
    flex: 1;
    color: #9c9c9c;
    white-space: nowrap;
    text-align: right;
    font-family: 'YekanBakhFaNum', sans-serif;
    font-weight: bold;
}

/* radio styles */
.custom-radio {
    margin: 0 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #9c9c9c;
    cursor: pointer;
    appearance: none;
}

.custom-radio:checked {
    background-image: url('../../assets/checked.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

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) {
    .remote-section {
        font-family: 'YekanBakhFaNum', sans-serif;
        direction: rtl;
        font-size: 12pt;
        margin: 0;
        height: 100vh; /* Height set to 80% of the viewport */
        display: flex;
        justify-content: center;
        align-items: flex-start; /* Align items to the top */
        overflow-y: auto; /* Enable vertical scrolling when content overflows */
        overflow-x: hidden; /* Prevent horizontal scrolling */
        margin-top: 20px; /* Optional padding for spacing */
        margin-bottom: 20px; /* Optional padding for spacing */
        box-sizing: border-box; /* Include padding in the height calculation */
    }
    
    /* Optional: ensure .settings-container doesn't overflow */
    .settings-container {
        max-height: 100%; /* Ensure container fits within body height */
        overflow-y: auto; /* Enable scrolling within the container if needed */
    }
    
}

/* 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%;
}