@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: hidden; /* 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 relay-section */
.relay-section {
    width: 90vw;
    max-width: 90vw;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    scroll-behavior: smooth;
    justify-content: center;
    overflow-y: scroll;
    height: 100%;
}

/* Relay item styles */
.relay-item {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    gap: 5px;
    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 */
.relay-label {
    flex: 0;
    color: black;
    font-weight: bold;
    white-space: nowrap;
    text-align: right;
    font-family: 'YekanBakhFaNum', sans-serif;
    font-weight: bold;
}

/* Time label and checkbox label styles */
.time-label, .checkbox-label {
	flex: 0;
	color: #9c9c9c;
	white-space: nowrap;
	text-align: right;
	font-family: 'YekanBakhFaNum', sans-serif;
	font-weight: bold;
	margin-right: 5px;
}

/* Checkbox styles */
.custom-checkbox {
    margin: 0 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #9c9c9c;
    cursor: pointer;
    appearance: none;
}

.custom-checkbox:checked {
    background-image: url('../../../assets/checked.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Disable zooming */
html, body {
    touch-action: manipulation;
    user-select: none;
    -webkit-touch-callout: none;
    text-size-adjust: 100%;
}
