@font-face {
    font-family: 'iranSans';
    src: url('sans.ttf') format('truetype');
    /* You can also include other font formats like woff, woff2, etc. for better browser compatibility */
}
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    /*background-color: #272727;*/
    background-image: url("back2.png");
    background-repeat: no-repeat;
    background-size: 100% 100%; /* Stretch both width and height */
    user-select: none;
    -webkit-user-select: none; /* For Safari/Chrome */
    -ms-user-select: none;
}

/* Navigation Drawer */
.drawer {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    background: #fff;
    box-shadow: 2px 0 5px rgba(0,0,0,0.4);
    transition: left 0.3s ease;
    z-index: 1000;
}
.drawer.open {
    left: 0;
}
.drawer-header {
    padding: 20px;
    background-color: #0054eb;
    color: #fff;
    text-align: center;
}
.drawer-menu {
    list-style-type: square;
}
.drawer-menu li {
    padding: 15px 20px;
    border-bottom: 1px solid #ccc;
    cursor: pointer;
    transition: background 0.2s;
}
.drawer-menu li:hover {
    background: #f0f0f0;
}
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: none;
    z-index: 900;
}
.overlay.show {
    display: block;
}
.custom-dialog {
    display: none;
    position: fixed;
    flex-direction: column;
    z-index: 1000;
    background-color: white;
    padding: 15px;
    border-radius: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
/*@media screen and (max-width: 600px) {*/
/*    .custom-dialog {*/
/*        max-width: 90%; !* Adjust the maximum width for smaller screens *!*/
/*    }*/
/*}*/
.linear-layout-vertical {
    display: flex;
    flex-direction: column;
}
.linear-layout-horizontal {
    display: flex;
    flex-direction: row;
}
.vertical-card-view {
    display: flex;
    flex-direction: column;
    background-color: white;
    border-radius: 20px;
    overflow: hidden; /*avoid content overflow borders to be appeared*/
    cursor: pointer;
}
.horizontal-card-view {
    display: flex;
    flex-direction: row;
    background-color: white;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
}
.horizontal-card-view:hover {
    background-color: #0048ff; /* Darker green on hover */
    transform: scale(1.07);
}
.vertical-card-view:hover {
    background-color: #0048ff; /* Darker green on hover */
    transform: scale(1.07);
}
.vertical-card-view.actionbar:hover {
    background-color: white; /*no effect*/
    transform: none;
}
.horizontal-card-view.actionbar:hover {
    background-color: white; /*no effect*/
    transform: none;
}
.vertical-divider{
    background-color: black;
    width: 0.5px;
}
.horizontal-divider{
    background-color: black;
    height: 0.5px;
}
.text-view{
    color: black;
    font-size: 10px;
    font-family: 'iranSans', sans-serif; /* Use the custom font */
    white-space: pre-line;  /*Allow newline characters */
}
.important{
    color: white;
    font-weight : bold;
    font-size: 14px;
    text-align : center;
    align-self : center;
    font-family: 'iranSans';
    justify-content : center;
    align-content: center;
    align-items: center;
}
.hint{
    color: gray;
    font-size: 12px;
    text-align : center;
    align-self : center;
    font-family: 'iranSans';
    justify-content : center;
    align-content: center;
    align-items: center;
}
.text-button{
    color: black;
    font-family: 'iranSans', sans-serif; /* Use the custom font */
    white-space: pre-line;  /*Allow newline characters */
    font-size: 13px;
    text-align: center;
    cursor: pointer;
}
.text-button:hover{
    color: white;
    background-color: #0048ff;
}
.custom-button{
    color: white;
    padding: 5px;
    border-color: transparent;
    border-radius: 20px;
    background-color: #0048ff;
    cursor: pointer;
    font-family: 'iranSans', sans-serif; /* Use the custom font */
}
.chip{
    display: flex;
    flex-direction: row;
    padding: 5px 10px;
    border-radius: 5px;
    border: 1px solid black;
    background-color: rgb(192,201,255);
    align-content: center;
    align-items: center;
    text-align: center;
    margin: 2.5px;
    cursor: pointer;
    font-size: 12px;
    font-family: 'iranSans', sans-serif; /* Use the custom font */
}


/* Style for the text input */
.edit-text {
    padding: 10px;
    font-size: 14px;
    border: 1px solid #000000;
    border-radius: 5px;
    box-sizing: border-box;
    margin-bottom: 2px;
    text-align: center;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    color: #000000;
    font-family: 'iranSans', sans-serif; /* Use the custom font */
}
/*edit text hint can be edited here*/
.edit-text::placeholder {
    color: #000000; /* Set the placeholder text color */
}
.edit-text:focus {
    border : 2px solid #0048ff;
    outline: none;
}
md-slider {
    --md-slider-thumb-color: #ff5733; /* Color for the thumb */
    --md-slider-track-color: #cccccc; /* Color for the track */
    --md-slider-active-track-color: #ff5733; /* Color for the active portion of the track */
    --md-slider-hover-thumb-color: #ff8551; /* Color when hovering over the thumb */
    --md-slider-focus-thumb-color: #ff8551; /* Color when focused */
    --md-slider-handle-color:#ff5733;
    --md-slider-handle-shape: --md-sys-shape-corner-full
}
.key-pad{
    display: flex;
    font-size: 15px;
    justify-content: center;
    align-items: center;
    background-color: black;
    color: white;
    cursor: pointer;
    width: 50px;
    height: 50px;
    margin: 2px;
    font-family: 'iranSans', sans-serif;
}
.key-pad:hover {
    background-color: white;
    color: black;
}
.circle-flag {
    display: flex;
    width: 15px;
    height: 15px;
    border: 2px solid white;
    border-radius: 50%;
    margin: 4px;
}