/* CSS Document */
html
{
	width: 100vw;
	height: 80vh;
}
body
{
	font: 90% Verdana, Arial, Helvetica, sans-serif;
	margin: 0; 
	padding: 0;
	width :100%;
	height:100%;
	text-align: center;
	color: #000000;
	background-color:#B1C9F3;
	background-image:url(../img/cielo_background.png);
	background-repeat:repeat-x;
}
#wrapper
{
	/* width:990px;
	margin:0;
	margin-left:auto;
	margin-right:auto;*/
	text-align:left; 
	width :90%;
	height:100%;
	margin: 0 auto;
}
#header
{
	width:100%;
	height:140px;
}

#header h1
{
	font:2.5em "Times New Roman", Times, serif; 
	float:left;
	margin:0;
	margin-left:35px;
}
#header h2
{
	font:italic 2em "Times New Roman", Times, serif;
	margin:0;
	margin-top:8px;
	margin-left:20px;
	float:left;
	color:#333;

}


#LeftSide
{
	width:20%;
	height: 100%;
	float: left;
	background-color:#FFF;
	text-align:left;
	/* margin-top:10px; */
	/* padding:5px;
	margin: 0; */
	/* position:relative; */
}

#main
{
	/* width:980px; */

	float: left;
	/* background-color:#810c0c; */
	text-align:left;
	/* margin-top:10px; */
	/* padding:5px; */
	/* padding: 0; */
	/* position:relative; */
}
#RightSide
{

	text-align:left;
	/* margin-top:10px;
	padding:5px; */
	/* position:relative; */
}

/* #content #main
{
	font:1em "Times New Roman", Times, serif;
	height:500px;
	margin:5px;
	display:block;
} */
#content #main p
{
	text-indent:30px;
	margin:10px;
}
/*#content #main h3
{
	color:#F00;
	margin:5px;
	font:bold 1.4em;

}
*/#footer
{ 
	clear: left;
	width: 100%;
	height:40px;
	background-color: #333399;
	color: #AAA;
	margin-top:10px;
	margin-bottom:10px;
}
i
{
	font-style:italic;
}
.left
{
	float:left;
	margin-left:10px;
}
.right
{
	float:right;
	margin-right:10px;
}
#footer ul.left
{
	width:40%;
}
#version
{
	color: #AAA;
	font:12px Arial, Helvetica, sans-serif;
	margin-top:12px;
}
.numeric
{
	text-align:right;
}
/*----------------------------------------------	*/
/*----------------------------------------------	*/
/*----------------------------------------------	*/
/* Modal background */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  text-align: center;	   
  z-index: 10001;
}
/* Modal content box */
.modal-content {
	/* position:relative; */
  position: absolute;
	display: block;
  /* background-color: rgb(250, 250, 250); */
  background-color: white;
	/* margin: 5% auto; */
  padding: 20px;
  /* width: 60%;
	height:60%; */
  top: 50%;
  left: 50%;
  width: 70vw;    /* ← adjust to desired width, e.g. 60% of parent */
  height: 76vh;   /* ← adjust to desired height, e.g. 70% of parent */
  transform: translate(-50%, -50%); /* centers perfectly */
  resize: both;
  overflow: auto;
  border: 2px solid #444;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0,0,0,0.4);
  text-align: center;
	z-index: 10002;
}
.XCloseFakButton {
	position: absolute;
	top: 5px;
	right: 8px;
	background: #d33;
	color: white;
	border: none;
	border-radius: 4px;
	padding: 4px 8px;
	cursor: pointer;
	font-size: 14px;
	z-index: 10003;
}
#FakbtnXClose:hover {
	background: #b00;
}
/*----------------------------------------------	*/
/*----------------------------------------------	*/
/*----------------------------------------------	*/
.loading-modal {
    display: none; /* Hidden by default */
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
	text-align: center;
	z-index: 10010;
}
.loading-modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 20px;
    width: 400px;
	height:250px;
    border-radius: 8px;
    text-align: center;
	z-index: 10011;
}
/*----------------------------------------------	*/
/*----------------------------------------------	*/
/*----------------------------------------------	*/
.stoka-modal {
  display: none; /* Hidden by default */
  position: fixed;      
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
	text-align: center;
	z-index: 10004;
}	
.stoka-modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50vw;    /* ← adjust to desired width, e.g. 60% of parent */
  height: 50vh;   /* ← adjust to desired height, e.g. 70% of parent */
  transform: translate(-50%, -50%); /* centers perfectly */
  background-color: white;
  padding: 20px;
  text-align: center;
  resize: both;
  overflow: auto;
  display: block;
  /* cursor: move;  */
  border: 2px solid #444;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0,0,0,0.4);
  z-index: 10005;
}	
.XCloseStokaButton {
	position: absolute;
	top: 5px;
	right: 8px;
	background: #d33;
	color: white;
	border: none;
	border-radius: 4px;
	padding: 4px 8px;
	cursor: pointer;
	font-size: 14px;
	z-index: 10006;
}
#btnStokaXClose:hover {
	background: #b00;
}
/*----------------------------------------------	*/
/*----------------------------------------------	*/
/*----------------------------------------------	*/
.nav {
  overflow: hidden;
  background-color: #333;
      display: flex;

        align-items: stretch; /* make children take full nav height */
}

.nav a {
  float: left;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.nav a:hover {
  background-color: #ddd;
  color: black;
}	
.nav a.currentNav {
  background-color: #04AA6D;
  color: white;
}
/* Push logout form to the right */
.nav form#LogoutForm {
    margin-left: auto; /* pushes it to the far right */
}
.nav form#LogoutForm button {
    /* background-color: #E74C3C; red logout
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.2s, transform 0.1s;
    display: flex;
    align-items: center; /* center text vertically 
    justify-content: center; */
    background-color: #E74C3C; /* red */
    color: #fff;
    border: none;
    padding: 5px 16px;        /* same as nav links */
    font-size: 17px;
    cursor: pointer;
    font-weight: 600;
      font-family: "Poppins", sans-serif;
    /* text-decoration: none; */
    transition: background-color 0.2s , transform 0.1s;
    align-items: center;        /* vertically center text */
    height: 100%;               /* match nav height */
}

/* Hover effect */
.nav form#LogoutForm button:hover {
    background-color: #c0392b;
    color: #fff;
    transform: translateY(-1px);
}
/*----------------------------------------------	*/
/*----------------------------------------------	*/
/*----------------------------------------------	*/
.overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 10004;
}
#FakIframeContainer {
  display: none;
  position: fixed;        /* fixed to viewport */
  top: 50%;               /* center vertically */
  left: 50%;              /* center horizontally */
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background:white;
  border: 2px solid #444;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0,0,0,0.4);
  padding: 0;
  resize: both;        /* 👈 allows resize horizontally & vertically */
  overflow: auto;      /* 👈 required for resize handles to appear */
  z-index: 10005;          /* ensures it floats above everything */
}
.XCloseButton {
  position: absolute;
  top: 5px;
  right: 8px;
  background: #d33;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 4px 8px;
  cursor: pointer;
  font-size: 14px;
  z-index: 10006;
}
#FakbtnCloseIframe:hover {
  background: #b00;
}
/*----------------------------------------------	*/
/*----------------------------------------------	*/
/*----------------------------------------------	*/
#ChooseIskaneIframeContainer {
  display: none;
  position: fixed;        /* fixed to viewport */
  top: 50%;               /* center vertically */
  left: 50%;              /* center horizontally */
  transform: translate(-50%, -50%);
  width: 60%;
  height: 60%;
  background: white;
  border: 2px solid #444;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0,0,0,0.4);
  padding: 0;
  resize: both;        /* 👈 allows resize horizontally & vertically */
  overflow: auto;      /* 👈 required for resize handles to appear */
  z-index: 10005;          /* ensures it floats above everything */
}
#ChooseIskanebtnCloseIframe:hover {
  background: #b00;
}/*----------------------------------------------	*/
/*----------------------------------------------	*/
/*----------------------------------------------	*/
#ChooseFirmaIframeContainer {
  display: none;
  position: fixed;        /* fixed to viewport */
  top: 50%;               /* center vertically */
  left: 50%;              /* center horizontally */
  transform: translate(-50%, -50%);
  width: 60%;
  height: 60%;
  background: white;
  border: 2px solid #444;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0,0,0,0.4);
  padding: 0;
  resize: both;        /* 👈 allows resize horizontally & vertically */
  overflow: auto;      /* 👈 required for resize handles to appear */
  z-index: 10005;          /* ensures it floats above everything */
}
#ChooseFirmabtnCloseIframe:hover {
  background: #b00;
}
/*----------------------------------------------	*/
/*----------------------------------------------	*/
/*----------------------------------------------	*/
.XCloseUpylnButton {
	position: absolute;
	top: 5px;
	right: 8px;
	background: #d33;
	color: white;
	border: none;
	border-radius: 4px;
	padding: 4px 8px;
	cursor: pointer;
	font-size: 14px;
	z-index: 10003;
}
#UpylnbtnXClose:hover {
  background: #b00;
}
/*----------------------------------------------	*/
/*----------------------------------------------	*/
/*----------------------------------------------	*/
.link-like {
  color: blue;                /* link color */
  text-decoration: underline; /* underline like a link */
  cursor: pointer;            /* hand cursor */
}
.link-like:hover {
  color: darkblue;            /* hover effect */
}
/*----------------------------------------------	*/
/*----------------------------------------------	*/
/*----------------------------------------------	*/
.form-row {
  display: flex;                /* put label and input on one line */
  align-items: center;          /* align them vertically */
  margin-bottom: 2px;
}
.form-row-nomargin{
  display: flex;                /* put label and input on one line */
  align-items: center;          /* align them vertically */
  /* margin: 0; */
  margin-bottom: 0px; 
  padding: 0;
 line-height: 1;
}
.form-row-nomargin + .form-row-nomargin {
    margin-top: -0.4em;   /* negative margin to make rows touch */
}
.form-row-label100 {
  flex: 0 0 100px;              /* fixed width for labels */
  text-align: right;            /* align text to the right edge */
  margin-right: 10px;
}
.form-row-label_optiongroup90 {
  flex: 0 0 90px;              /* fixed width for labels */
  text-align: left;            /* align text to the right edge */
  margin-right: 10px;
}

.form-row-label_optiongroup100 {
  flex: 0 0 100px;              /* fixed width for labels */
  text-align: left;            /* align text to the right edge */
  margin-right: 10px;
}
.form-row-label_optiongroup150 {
  flex: 0 0 150px;              /* fixed width for labels */
  text-align: left;            /* align text to the right edge */
  margin-right: 10px;
}
.form-row-label_optiongroup200 {
  flex: 0 0 200px;              /* fixed width for labels */
  text-align: left;            /* align text to the right edge */
  margin-right: 10px;
}
.form-row-label_optiongroup250 {
  flex: 0 0 200px;              /* fixed width for labels */
  text-align: left;            /* align text to the right edge */
  margin-right: 10px;
}
.form-row-label150 {
  flex: 0 0 150px;              /* fixed width for labels */
  text-align: right;            /* align text to the right edge */
  margin-right: 10px;
}
.form-row-label200 {
  flex: 0 0 200px;              /* fixed width for labels */
  text-align: right;            /* align text to the right edge */
  margin-right: 10px;
}
.form-row-label250 {
  flex: 0 0 250px;              /* fixed width for labels */
  text-align: right;            /* align text to the right edge */
  margin-right: 10px;
}
.form-row-label-checkbox {
  flex: 0 0 90%;              /* fixed width for labels */
  text-align: left;            /* align text to the right edge */
  margin-right: 10px;
  /* margin-top: 0px;*/
  margin-bottom: 0px; 
}
.form-row-label-checkbox + .form-row-label-checkbox {
      margin-top: -0.4em;   /* negative margin to make rows touch */
}
.form-row-select {
  flex: 1;                      /* input takes the remaining space */
  padding: 2px;
}
.form-row-select2 {
  flex: 2;                      /* input takes the remaining space */
  padding: 2px;
}
.form-row-input {
  flex: 1;                      /* input takes the remaining space */
  padding: 2px;
}
.form-row-input2 {
  flex: 2;                      /* input takes the remaining space */
  padding: 2px;
}
.optiongroup{
	border-width:1px;
	border-color:   rgb(100, 144, 238);
	border-style:inset;
	margin-left:1px;
	margin-top:2px;
	padding: 3px;
}

.form-row-group {
  display: flex;
  flex: 1;
  gap: 5px;
  min-width: 0;
}

.form-row-group > * {
  flex: 1;
  min-width: 0;
}


/* --------------------------------------------------- */
/* --------------------------------------------------- */
/* --------------------------------------------------- */
button.modern-btn {
  background: linear-gradient(135deg, #007bff, #0056d6);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

button.modern-btn:hover {
  background: linear-gradient(135deg, #3399ff, #007bff);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 123, 255, 0.4);
}

button.modern-btn:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}
button.modern-btn {
  background: linear-gradient(135deg, #007bff, #0056d6);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
/* --------------------------------------------------- */
/* --------------------------------------------------- */
/* --------------------------------------------------- */
button.modern-btn-delete:hover {
  background: linear-gradient(135deg, #ff9933, #ff7b00);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(255, 123, 0, 0.4);
}

button.modern-btn-delete:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}
button.modern-btn-delete {
  background: linear-gradient(135deg, #ff7b00, #d65600);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
/* --------------------------------------------------- */
/* --------------------------------------------------- */
/* --------------------------------------------------- */

button.modern-btn-delete-disabled {
  background: #e0e0e0;
  color: #a1a1a1;
  border: none;
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 600;
  cursor: not-allowed;
  transition: all 0.25s ease;
  box-shadow: none;
  opacity: 0.6;
  pointer-events: none;
}
/* --------------------------------------------------- */
/* --------------------------------------------------- */
/* --------------------------------------------------- */
/* Dialog box */
.dialog-box {
  background: rgb(240, 240, 0); /* soft yellow */
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  /* width: 360px; */
  padding: 1.8rem 1.5rem;
  text-align: center;
  animation: fadeIn 0.4s ease;
}
/* Message text */
.dialog-box p {
  color: rgb(30, 30, 0);
  font-size: 1rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}
/* Button container */

.dialog-buttons {
  display: flex;
  justify-content: center; /* center horizontally */
  align-items: center;
  gap: 1rem; /* spacing between buttons */
  margin-top: 1rem;
}

/* Button styles */
.btn {
  padding: 0.6rem 1.3rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s ease;
}

/* Cancel button */
.btn.CancelBtn {
  background: #f4d03f;
  color:  rgb(30, 30, 0);
  border: 1px solid rgb(80, 80, 0);
}
.btn.CancelBtn:hover {
  background: #f5c600;
}
/* Confirm button */
.btn.YesBtn {
  background: #f4d03f;
  color: rgb(30, 30, 0);
  border: 1px solid rgb(80, 80, 0);
}
.btn.YesBtn:hover {
  background: #f5c600;
}
.btn.NoBtn {
  background: #f4d03f;
  color: rgb(30, 30, 0);
  border: 1px solid rgb(80, 80, 0);
}
.btn.NoBtn:hover {
  background: #f5c600;
}
.btn.OKBtn {
  background: #f4d03f;
  color: rgb(30, 30, 0);
  border: 1px solid rgb(80, 80, 0);
}
.btn.OKBtn:hover {
  background: #f5c600;
}
/* Fade animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
/* --------------------------------------------------- */
/* --------------------------------------------------- */
/* --------------------------------------------------- */
#progressContainer {
  background: #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  height: 24px;
  margin-top: 10px;
}
#progressBar {
  background: linear-gradient(to right, #FFD54F, #FFB300);
  height: 100%;
  width: 0%;
  transition: width 0.2s ease;
}
/* --------------------------------------------------- */
/* --------------------------------------------------- */
/* --------------------------------------------------- */
		button[type="submit"].linklikeInput {
  			background: none;
	  		border: none;
  			color: blue;
  			text-decoration: underline;
	  		cursor: pointer;
  			font: inherit; /* use page’s font */
  			padding: 0;
			cursor: pointer;
		}
		button[type="submit"].linklikeInput:hover {
 			 color: darkblue;
		}
    /* Logout button styling */
/* --------------------------------------------------- */
/* --------------------------------------------------- */
/* --------------------------------------------------- */
.dropdown {
    position: relative;
    display: inline-block;
    font-size: 0.7em;
}

.dropbtn {
    /* width: 30px;      
    height: 30px; */
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: white;
    border: 1px solid #ccc;
    min-width: 400px;
    max-height: 150px;      /* scrollbar appears if too many items */
    overflow-y: auto;       /* vertical scrollbar */
    overflow-x: hidden;
    z-index: 1000;
}

.dropdown-content div {
    padding: 3px 10px;
    cursor: pointer;
}

.dropdown-content div:hover {
    background: #f0f0f0;
}

/* Show dropdown when parent has .show */
.dropdown.show .dropdown-content {
    display: block;
}

/* Optional scrollbar styling */
.dropdown-content::-webkit-scrollbar {
    width: 6px;
}

.dropdown-content::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 3px;
}

.dropdown-content::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}
/* --------------------------------------------------- */
/* --------------------------------------------------- */
/* --------------------------------------------------- */
td.prikl {
  color:grey;
}
