:root {
	 --primary: rgb(63,46,122);
     --secondary:rgb(63,46,122);
	 --accent: #73a9ff;
}

html {
    font-size: 20px;
}
*{
    margin: 0;
    box-sizing: border-box;
  	font-family: "Nunito", sans-serif;
} 
@media  only screen and (max-width: 720px) {
    html {
        font-size: 16px;
    }
    
}
@media  only screen and (max-width: 400px) {
    html {
        font-size: 14px;
    }
    
}
  #loadingview {
    position: fixed;       /* Position it fixed to viewport */
    display: none;         /* Hidden by default */
    top: 0;                /* Start at the top */
    left: 0;               /* Start at the left */
    width: 100%;           /* Full width */
    height: 100%;          /* Full height */
    background-color: rgba(0, 0, 0, 0.8);  /* Black background with opacity */
    z-index: 9999;         /* Ensure it's on top of other elements */
    pointer-events: auto;  /* Allow pointer events to prevent interaction below */
  }

  /* Centered text */
  #overlay-text {
    position: absolute;
    top: 50%;              /* Center vertically */
    left: 50%;             /* Center horizontally */
    transform: translate(-50%, -50%);  /* Offset to truly center */
    color: white;          /* White text */
    font-size: 24px;       /* Larger font size */
    text-align: center;    /* Centered text alignment */
  }
button {
    all: unset;
    cursor: pointer;
}

.app-store-logo {
	margin: 2px 4px;
	height:60px;
}

.d-none {
    display: none !important;
}

.mb-3 {
	margin-bottom:9px;
}

ul {
    padding-inline-start: 0;
}
img {
    height: 100%;
    width: auto;
}

.svg-inline--fa {
margin-right:4px;
}

th {
font-size:14px;
	
}
.bold {
    font-weight: 800;
}
.semibold {
    font-weight: 600;
}
.big {
    font-size: 1.2rem;
}
.semibig {
    font-size: 1.1rem;
}
a {
    text-decoration: none;
    color: black;
}
.pol-1 {
    background-size: cover;
    width: 100vw;
    height: 100vh;
    position: relative;
}
.pol-2 {
	background: var(--primary);
	width: 100%;
    height: 100%;
    position: relative;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 15vh;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 10vh;    
}
.logo {
    position: absolute;
    height: 60px;
	margin: 15px 15px 30px 30px;
	padding: 6px 9px;
    width: auto;
    top: 0;
    left: 0;
	object-fit:contain;
}
.box {
    width: 100%;
    min-height: 200px;
    max-width: 600px;
    max-height: 600px;
    background-color: white;
    box-shadow: 0 4px 10px -2px #000;
    border: 1px solid #ececec;
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    gap: 20px;
    border-radius: 5px;
   
}
.language-selection {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    list-style: none;

    overflow-y: auto;
  }
  .flag-container {
    width: 40%; 
    cursor: pointer;
    text-align: center;
    display: flex;
    border: 1px solid #9f9f9f;
    align-items: center;
    justify-content: center;
    gap: 10px;
	padding:2px 4px;
    
  }
  .language-selection li:hover{
    background: var(--accent);
  }
  .flag {
    width: 25px; 
    height: auto;
    border-radius: 50%;
    border: 1px solid #ececec;
    transition: all 0.5s;
  }

.box-choices-hor {
    display: flex;
    justify-content: center;
    flex-direction: row;
    gap: 20px;
    width: 100%;
}
.box-choices-ver {
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}
.btn-small {
    border-radius: 5px;
    padding: 5px 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.btn-half {
    border-radius: 5px;
    height: 60px;
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    
}
.btn-full {
    border-radius: 5px;
    height: 60px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    
}
.app-store-logo:hover {
  transform: scale(1.1); /* Add a slight scaling effect */
}

.btn-small:hover {
    box-shadow: 2px 2px 5px -2px #000;
}
.btn-half:hover, .btn-full:hover {
    transition: all 0.2s;
    transform: translateY(-10px);
    box-shadow: 0 2px 8px -2px #404040;
}
.btn {
	padding:5px 9px;
	font-size: 16px;
	font-weight:500;
}
.btn-green {
    color: white;
    background-color: rgb(0, 199, 0);
}

.button-row {
  display: flex; /* Use flexbox for layout */
  justify-content: space-between; /* Add space between buttons */
  gap: 10px; /* Optional: Adjust spacing between buttons */
  font-size:14px;
}

.button-row .btn-small {
  text-align: center;
  height:30px;
  padding: 2px 10px;
}

.btn-red {
    color: white;
    background-color: red;
}
.btn-orange {
    color: white;
    background-color: orange;
}

.btn-blue {
    color: white;
    background-color: var(--accent);
}

.darkgrey {
    color:#4c4c4c;
}
.green {
    color: rgb(0, 199, 0);
}
.red {
    color: red;
}
.grey {
    color: grey;
}
.orange {
    color: orange;
}

.box input {
    height: 60px;
    border: none;
    background-color: #ececec;
    font-size: 1.1rem;
    font-weight: 600;
    padding-left: 20px;
}
.num {
    position: absolute;
    bottom: 30px;
    transform: translateX(50% -50%);
}

.traffic {
    width: 140px;
    height: 140px;
    border-radius: 10px;
    background: #303030;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.light {
	position:absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: black; 
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.9); 
}

.light-green {
    background-color: rgb(0, 199, 0); 
}

.light-red {
    background-color: red;
}

.glowing-ball-red {
    width: 70px;
    height: 70px;
	background: rgb(255,36,36);
	background: linear-gradient(0deg, rgba(255,36,36,1) 0%, rgba(205,0,0,1) 33%, rgba(201,0,0,1) 84%, rgba(255,241,241,1) 100%);
    border-radius: 50%;
	border:1px solid #f10202;
    box-shadow: 0 0 10px 5px rgba(255, 0, 0, 0.8);
    animation: glow-red 2s infinite alternate;
}

@keyframes glow-red {
   0% {
        box-shadow: 0 0 20px 8px rgba(255, 0, 0, 0.6);
    }
    50% {
        box-shadow: 0 0 25px 8px rgba(255, 0, 0, 0.7);
    }
    100% {
        box-shadow: 0 0 20px 8px rgba(255, 0, 0, 0.6);
    }
}

.glowing-ball-green {
    width: 70px;
    height: 70px;
	background: rgb(36,255,36);
	background: linear-gradient(0deg, rgba(36,255,36,1) 0%, rgba(0,205,0,1) 33%, rgba(0,201,0,1) 84%, rgba(241,255,241,1) 100%);
    border-radius: 50%;
	border:1px solid #00ab01;
    box-shadow: 0 0 10px 5px rgba(0, 199, 0, 0.8);
    animation: glow-green 2s infinite alternate;
}
.ball-dark {
    width: 75px;
    height: 75px;
	background: rgb(0,0,0);
    border-radius: 50%;
	z-index:0;
}

@keyframes glow-green {
    0% {
        box-shadow: 0 0 20px 8px rgba(0, 255, 0, 0.6);
    }
    50% {
        box-shadow: 0 0 25px 8px rgba(0, 255, 0, 0.7);
    }
    100% {
        box-shadow: 0 0 20px 8px rgba(0, 255, 0, 0.6);
    }
}

.data-box {
    width: 100%;
    background-color: #ececec;
    border-radius: 5px;
    padding: 20px;
}
.thanks {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    gap: 20px;
    padding-bottom: 20px;
}

.next-button {
    margin-top: 20px;
}
.message-details {
    height: 5%;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}
.message-box {
    width: 100%;
    height: 80%;
    display: flex;
	background: #fff;
    flex-direction: column;
    justify-content: flex-start;
    overflow: auto;
    padding: 10px;
    border: 1px solid #eee;
}
.message-row {
    width: 100%;
    display: flex;
    margin-bottom: 10px;
}
.message-row-own {
    justify-content: flex-end;
}
.message-row-other {
    justify-content: flex-start;
}
.message {
    
    padding: 10px 10px 30px 10px;
    border-radius: 5px;
    width: 60%;
    position: relative;
}
.message-other {
    background-color: rgb(180, 180, 180);
}
.message-own {
    background-color: rgb(62, 194, 64);
}
.message-time {
    position: absolute;
    bottom: 5px;
    right: 10px;
    font-size: 0.9rem;
    color: #4c4c4c;
}
.message-input {
    width: 100%;
    height: 15%;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 0 5px;
    gap: 10px;
    display: flex;
    justify-content: center;
}
#message-content {
    resize: none; 
    border-radius: 5px; 
    width: 70%; 
    padding: 10px; 
    border: 1px solid #ccc; 

}





/* client chat */
.client-chatbox-btn {
    cursor: pointer;
    
    height: 50px;
    width: 50px;
    background-image: url(../chatbox-white-2.png);
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    bottom: 10px;
    right: 20px;
    transition: all 0.5s;
    z-index: 500;
}


.client-chatbox {
    height: 50%;
    width: 60%;
    max-width: 350px;
    z-index: 500;
    position: absolute;
    right: 20px;
    bottom: 70px;
    background-color: white;
    border-radius: 5px;
    border: 1px solid #4c4c4c;
}
