.center {
    text-align: center;
}
.timer {
       font-weight: 400;
       font-size: 38px;

}	

.timeblock { 
        display: inline-flex;
        align-items:center;

}

p {
  margin: 0;
  padding: 0;
}

.btn {
      
        height: 40px;
        margin: 2px;
} 


.my-none {

    display: none !important;
}
.table {
margin-bottom: 0px !important;
}
	

textarea.form-control {
 height:282px;
     background-image: -webkit-linear-gradient(left, white 10px, transparent 10px), -webkit-linear-gradient(right, white 10px, transparent 10px), -webkit-linear-gradient(white 30px, #ccc 30px, #ccc 31px, white 31px);
            background-image: -moz-linear-gradient(left, white 10px, transparent 10px), -moz-linear-gradient(right, white 10px, transparent 10px), -moz-linear-gradient(white 30px, #ccc 30px, #ccc 31px, white 31px);
            background-image: -ms-linear-gradient(left, white 10px, transparent 10px), -ms-linear-gradient(right, white 10px, transparent 10px), -ms-linear-gradient(white 30px, #ccc 30px, #ccc 31px, white 31px);
            background-image: -o-linear-gradient(left, white 10px, transparent 10px), -o-linear-gradient(right, white 10px, transparent 10px), -o-linear-gradient(white 30px, #ccc 30px, #ccc 31px, white 31px);
            background-image: linear-gradient(left, white 10px, transparent 10px), linear-gradient(right, white 10px, transparent 10px), linear-gradient(white 30px, #ccc 30px, #ccc 31px, white 31px);
            background-size: 100% 100%, 100% 100%, 100% 31px;
            border: 1px solid #ccc;
            border-radius: 8px;
            box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
            line-height: 31px;
            font-family: Arial, Helvetica, Sans-serif;
            padding: 8px;
            padding-left: 16px;
            

}	

.hidden {display:none;}

.task-holder li {
    
  
   list-style-type: none;
  

   
}

.task-holder textarea{
height: 35px;
overflow-y: hidden; /* Skryjte vertikální posuvník */
    resize: vertical; /* Ponechte možnost vertikálního roztažení */
margin-top:5px;
margin-bottom:5px;
}

.task-list {

padding-left: 0;
width: 100%;

}

.complete-task-list {

margin-top: 30px !important;
}


.li-manager {
    display: flex;
    align-items: center; /* Zarovnání na vertikálním centru */
}

.label-checkbox {
    margin-left: 10px; /* Trochu mezery mezi checkboxem "Splněno" a textem "Odstranit" */
    margin-right: 10px;
}	

.conf-checkbox {margin-left:6px;}

.label-checkbox {
    display: inline-block;
    padding: 6px 12px; /* Upřesněte poloměry polštářů dle potřeby */
    font-size: 14px; /* Změňte velikost písma dle potřeby */
    font-weight: 400; /* Změňte váhu písma dle potřeby */
    line-height: 1.42857143; /* Změňte výšku řádku dle potřeby */
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    background-color: #5bc0de; /* Změňte barvu pozadí na zelenou */
    border: 1px solid #46b8da; /* Změňte barvu ohraničení na zelenou */
    color: #ffffff; /* Změňte barvu textu na bílou */
    border-radius: 4px; /* Přidejte zaoblení rohů dle potřeby */
}

.remove-task {height:34px;}

.add-task{
width: 200px;
height:50px;

}

.add-task,
.create-button {
    float: left; /* Umístí tlačítka vedle sebe */
    margin-right: 10px; /* Trochu mezery mezi tlačítky (upravte podle potřeby) */
}

.create-button {
margin-left:100px;
width: 200px;
height:50px;
margin-bottom: 200px;
}

.btn-custom12 {width: 200px;
height:50px;}


.btn-custom123 {
width:140px;
height: 50px;
float: right;
}

.customcss-editbtndiv{text-align:center;margin-bottom:100px;}
.customcss-editbtn {width:200px;height:50px;}

.green-background {
    background-image: none !important;
    background-color: #c1f5a9 !important;
   

}

.none {
display:none;}



	



/* === AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA === */

/* === Fullscreen login === */
.login-form-homepage {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100%;
  background: radial-gradient(circle at center, #0f0f0f 0%, #1a1a1a 100%);
  font-family: 'Poppins', sans-serif;
  color: #f5f5f5;
}

.login-form-homepage form {
  width: 100%;
  max-width: 480px;
  padding: 3rem 2.5rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(14px);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.login-form-homepage form:hover {
  transform: scale(1.02);
  box-shadow: 0 0 80px rgba(255, 122, 0, 0.2);
}

.login-form-homepage label {
  font-size: 1.2rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: #ddd;
}

.login-form-homepage input[type="text"],
.login-form-homepage input[type="password"] {
  width: 100%;
  padding: 1.2rem 1rem;
  font-size: 1.1rem;
  border: none;
  border-radius: 12px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  outline: none;
  transition: all 0.25s ease;
}

.login-form-homepage input[type="text"]:focus,
.login-form-homepage input[type="password"]:focus {
  background: rgba(255,255,255,0.2);
  box-shadow: 0 0 10px rgba(255,122,0,0.3);
}

.login-form-homepage button {
  margin-top: 2.5rem;
  width: 100%;
  
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: none;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #ff7a00, #ff3c00);
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.login-form-homepage button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 100, 50, 0.3);
  background: linear-gradient(135deg, #ff9640, #ff4d1a);
}

/* === MOBILE OPTIMALIZATION === */
@media (max-width: 768px) {
  .login-form-homepage form {
    max-width: 90%;
    padding: 2rem 1.5rem;
    border-radius: 16px;
  }

  .login-form-homepage label {
    font-size: 1rem;
  }

  .login-form-homepage input {
    font-size: 1rem;
    padding: 1rem;
  }

  .login-form-homepage button {
    font-size: 1.1rem;
    padding: 1rem;
  }
}


.container-attach{
  --txt: #e9edf3; --muted:#9aa4b2; --brand:#7c5cff; --brand2:#5ed1fc;
  --card: rgba(255,255,255,.06); --border: rgba(255,255,255,.12);
  --hover: rgba(255,255,255,.08);
  color: var(--txt); border:1px solid var(--border); border-radius:16px; padding:16px;
  background: linear-gradient(180deg, #0c0f1a, #0a0d16); box-shadow:0 10px 30px rgba(0,0,0,.35);
  margin-top: 14px;
}
.container-attach h3{ margin:16px 0 10px; font-size:1rem; color:var(--muted); text-transform:uppercase; letter-spacing:.2px }
.attach-head{ display:flex; align-items:center; gap:12px; flex-wrap:wrap }
.attach-btn{
  display:inline-flex; align-items:center; gap:8px; padding:10px 14px; border-radius:12px; color:#fff; font-weight:700;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  box-shadow: 0 8px 20px rgba(124,92,255,.35), 0 2px 8px rgba(94,209,252,.25);
  cursor:pointer; user-select:none; transition:transform .08s ease, filter .2s ease;
}
.attach-btn::before{ content:"➕"; font-size:1rem }
.attach-btn:hover{ filter:brightness(1.05); transform: translateY(-1px) }
.hint{ color:var(--muted); font-size:.9rem }

/* input skryjeme, obsluhuje ho label */
#edit_contract_attachments{ position:absolute; width:1px; height:1px; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); border:0; padding:0 }

.attach-list{
  list-style:none; margin:8px 0 0; padding:0;
  display:flex; flex-direction:column; gap:8px;
}
.attach-item{
  display:flex; align-items:center; gap:12px;
  padding:10px 12px; border-radius:12px;
  background: var(--card); border:1px solid var(--border);
  transition: background .2s ease, border-color .2s ease, transform .1s ease;
}
.attach-item:hover{ background:var(--hover); border-color: rgba(124,92,255,.35); transform: translateY(-1px) }
.paperclip{ font-size:1.05rem; opacity:.9 }

.attach-item a{
  color:var(--txt); text-decoration:none; font-weight:600;
  flex:1 1 auto; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
  border-bottom:1px solid transparent; transition:color .2s ease, border-color .2s ease;
}
.attach-item a:hover{ color:#fff; border-color: rgba(255,255,255,.35) }
.attach-item a::after{
  content: attr(data-ext);
  margin-left:10px; padding:4px 8px; font-size:.72rem; font-weight:700;
  color:#0b1220; background:linear-gradient(135deg, #c7d2fe, #a5b4fc); border-radius:999px;
}

/* Delete křížek */
.attach-delete-form{ margin-left:auto }
.attach-delete{
  appearance:none; border:1px solid var(--border); background: rgba(255,255,255,.06);
  color:#e9edf3; width:28px; height:28px; line-height:26px; border-radius:50%; text-align:center;
  font-weight:700; cursor:pointer; transition: background .15s, transform .08s, border-color .15s, color .15s;
}
.attach-delete:hover{ background: rgba(255,0,80,.18); border-color: rgba(255,0,80,.45); color:#fff; transform: translateY(-1px) }
.attach-delete:active{ transform: translateY(0) }

/* Empty states */
.empty-note{
  padding:10px 12px; border-radius:12px; color:var(--muted);
  background: rgba(255,255,255,.04); border:1px dashed var(--border);
}

.container-attach{
  --txt:#e9edf3; --muted:#9aa4b2; --brand:#7c5cff; --brand2:#5ed1fc;
  --card:rgba(255,255,255,.06); --border:rgba(255,255,255,.12); --hover:rgba(255,255,255,.08);
  color:var(--txt); border:1px solid var(--border); border-radius:16px; padding:16px;
  background:linear-gradient(180deg,#0c0f1a,#0a0d16); box-shadow:0 10px 30px rgba(0,0,0,.35);
  margin-top:14px;
}
.container-attach h3{ margin:16px 0 10px; font-size:1rem; color:var(--muted); text-transform:uppercase; letter-spacing:.2px }
.attach-head{ display:flex; align-items:center; gap:12px; flex-wrap:wrap }
.attach-btn{
  display:inline-flex; align-items:center; gap:8px; padding:10px 14px; border-radius:12px; color:#fff; font-weight:700;
  background:linear-gradient(135deg,var(--brand),var(--brand2)); cursor:pointer; user-select:none;
  box-shadow:0 8px 20px rgba(124,92,255,.35), 0 2px 8px rgba(94,209,252,.25); transition:transform .08s, filter .2s;
}
.attach-btn::before{ content:"➕"; font-size:1rem }
.attach-btn:hover{ filter:brightness(1.05); transform: translateY(-1px) }
.hint{ color:var(--muted); font-size:.9rem }
#edit_contract_attachments{ position:absolute; width:1px; height:1px; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); border:0; padding:0 }

.attach-list{ list-style:none; margin:8px 0 0; padding:0; display:flex; flex-direction:column; gap:8px }
.attach-item{
  display:flex; align-items:center; gap:12px; padding:10px 12px; border-radius:12px;
  background:var(--card); border:1px solid var(--border); transition:background .2s, border-color .2s, transform .1s;
}
.attach-item:hover{ background:var(--hover); border-color:rgba(124,92,255,.35); transform: translateY(-1px) }
.paperclip{ font-size:1.05rem; opacity:.9 }
.attach-item a{
  color:var(--txt); text-decoration:none; font-weight:600; flex:1 1 auto; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
  border-bottom:1px solid transparent; transition:color .2s, border-color .2s;
}
.attach-item a:hover{ color:#fff; border-color:rgba(255,255,255,.35) }
.attach-item a::after{
  content: attr(data-ext);
  margin-left:10px; padding:4px 8px; font-size:.72rem; font-weight:700;
  color:#0b1220; background:linear-gradient(135deg,#c7d2fe,#a5b4fc); border-radius:999px;
}
.attach-delete-form{ margin-left:auto }
.attach-delete{
  appearance:none; border:1px solid var(--border); background:rgba(255,255,255,.06); color:#e9edf3;
  width:28px; height:28px; line-height:26px; border-radius:50%; text-align:center; font-weight:700; cursor:pointer;
  transition:background .15s, transform .08s, border-color .15s, color .15s;
}
.attach-delete:hover{ background:rgba(255,0,80,.18); border-color:rgba(255,0,80,.45); color:#fff; transform: translateY(-1px) }
.empty-note{ padding:10px 12px; border-radius:12px; color:var(--muted); background:rgba(255,255,255,.04); border:1px dashed var(--border) }
