/* ==============================================
   ---------- Plovoucí nadpisy položek (návrh PCHELP) ----------
   ============================================= */
.floating-label {
    position: relative;
    margin-bottom: 25px;
}

/* wrapper pro input/textarea + label */
.floating-label .field-wrapper {
    display: flex;
    flex-direction: column;
}

/* input + textarea */
.floating-label input.form-control,
.floating-label textarea.form-control {
    padding-top: 15px;
    padding-bottom: 15px;
    font-size: 14px;
    line-height: 1.6; 
}

/* textarea min výška */
.floating-label textarea.form-control {
    min-height: 90px;
}

/* label uvnitř pole */
.floating-label label {
    position: absolute;
    top: 20px;
    left: 10px;
    color: #777;
    background: white;
    padding: 0 4px;
    transition: all 0.2s ease;
    pointer-events: none;
    font-size: 14px;
}

/* label se zvedne */
.floating-label input:focus + label,
.floating-label input:not(:placeholder-shown) + label,
.floating-label textarea:focus + label,
.floating-label textarea:not(:placeholder-shown) + label {
    top: -8px;
    left: 10px;
    font-size: 12px;
}

/* rámeček položky při vyplňování*/
.floating-label input:focus,
.floating-label textarea:focus {
    border-color: #FF8E13;
    border-width: 2px;
    box-shadow: none;
}

.floating-label input:focus + label,
.floating-label textarea:focus + label {
    color: #FF8E13;
}



/* =================================================
   ---------- Sekce Přílohy (návrh PCHELP)----------
   ================================================ */
.label-attachments {
    color: #1A2C3E;
    font-size: 16px;
    font-weight: bold;
}

/* Nadpisy dropzone */
.dropzone .dz-label {
    color: #1A2C3E;
    font-size: 14px;
    font-weight: bold;
    display: block;
    margin-bottom: 4px;
    padding-top: 10px; /* místo pro ikonu */
}

/* Popis pod nadpisem */
.dropzone .dz-description {
    display: block;
    font-size: 12px;
    color: #777;
    white-space: normal;
}

/* Název souboru */
.dropzone .dz-filename-text {
    display: block;
    font-size: 12px;
    color: #333;
    margin-top: 4px;
}

/* Dropzone wrapper */
.dropzone {
    border: 2px dashed #8ec5ff;
    border-radius: 8px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left:80px; /* místo pro ikonu */
    padding-right: 110px; /* místo pro tlačítko + mezera */
    position: relative;
    background: #eef7ff;
    cursor: pointer;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 4px; /* mezera mezi texty */
}

/* Dragover efekt */
.dropzone.dragover {
    border-color: #007bff;
    background: #eef6ff;
}

/* FileUpload absolutně přes celý wrapper */
.dropzone .dropzone-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 1;
}

/* Obrázek pro upload – vertikálně střed, vlevo */
.dropzone .dz-upload-image {
    position: absolute;
    top: 50%;
    left: 25px;                 /* odsazení od levého okraje */
    transform: translateY(-50%);
    z-index: 2;
    width: 30px;
    height: 30px;
    pointer-events: none;       /* aby klik šel na dropzone */
}

/* Tlačítko pro upload – vertikálně střed, vpravo */
.dropzone .btn-upload {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    z-index: 10;
    display: block; 
    background: #d9ecff;   /* světle modrá */
    border: none;         
    color: #1f4f99;        /* tmavě modrý text */
    padding: 15px 20px;
    border-radius: 10px;   
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    pointer-events: none;       /* aby klik šel na dropzone */

}


/* Tlačítko mazání dropzone – vertikálně střed, vpravo */
.dropzone .btn-clear-upload {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 10;
    display: none;
    background: #ccc;
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: bold;
    text-align: center;
    line-height: 32px;
    font-size: 16px;
}

/*  Chybová hlášení */
.InputErrorMessage {
    font-size: 12px; 
}

/* ==================================================
   ---------- Obrázek a nápis po odeslání (návrh PCHELP) ----
   ================================================ */

.image-box {
    width: 300px;
    height: 200px;
    background-image: url("../App_Banners/sent.svg");
    background-size: cover;      /* roztáhne obrázek */
    background-position: center; /* zarovná doprostřed */
    background-repeat: no-repeat;
}

/* Label Odesláno */
.container-sent h1 {
    position: static !important;
    top: auto !important;
    left: auto !important;
}


/* ========================================
   ---------- Původní styly (Tipsport) ----
+ návrh PCHELP: border-radius: 10px; pro btn a form-control, 
   ======================================== */

form {
    overflow: hidden;
    padding: 5px 5px 20px;
}

#ctl00_ctl00_Body_Body_lblOpeningName{
    color:#1e88e5;
}

#ctl00_ctl00_Body_Body_lbtSubmit{
    background-color: #FF8E13;
    border: 0;
}

#ctl00_ctl00_Body_Body_lbtSubmit:hover {
    background-color: #FFA13E;
}

#ctl00_ctl00_Body_Body_lblOpeningName:after{
    content: url('https://www.tipsport.org/images/tipsport/logo/logo-CZ.svg');
    float: right;
    width: 147px;
    height: 42px;
    background: #1e88e5;
    padding: 5px;
}

#ctl00_ctl00_Body_Body_divForm:before{
    content: url('https://jobs.tipsport.cz/assets/img/logo-blue.svg');
    width: 187px;
    height: 49px;
    padding: 5px 20px;
    margin: 30px 0;
}

#ctl00_ctl00_Body_Body_lbtNewAccount {
    margin-bottom: 150px;
}

#ctl00_ctl00_Body_Body_chkAgreePersonalData + label{
    color:#000;
}

#ctl00_ctl00_Body_Body_baNewBankAccount_pnlBankAccount {
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%);
}

h1 {
    position: absolute;
    top: -9999px;
    left: -9999px;
}

.container,
.innerPage {
    padding: 0;
}

#ctl00_ctl00_Body_Body_lbtCancel,
#ctl00_ctl00_Body_Body_lbtRedirect {
    display: none;
}

.btn {
    display: inline-block;
    padding: 25px 20px;
    background-color: #FF8E13;
    color: #fff;
    font-weight: 700;
    font-size: 1.4rem;
    text-align: center;
    text-transform: uppercase;
    line-height: 1.0;
    width: 100%;
    font-size: 21px;
    border-radius: 10px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, .1);
    transition: background-color .2s;
}

.btn:hover {
    background-color: #FFA13E;
}

.form-control {
    display: block;
    height: 62px;
    width: 100%;
    padding: 0 31px;
    border: 1px solid #AFAFAF;
    border-radius: 10px;
    color: #333;
    font-size: 16px;
    line-height: 60px;
    transition: border-color .2s;
}

label {
    padding: 0 1px;
}

input::-webkit-input-placeholder {
    color: #333;
    opacity: 1;
}
input::-moz-placeholder {
    color: #333;
    opacity: 1;
}
input:-ms-input-placeholder {
    color: #333;
    opacity: 1;
}
input:-moz-placeholder {
    color: #333;
    opacity: 1;
}

.form-control.error {
    border-color: #f50c00;
}

.form-control:focus,
.form-control:hover {
    border-color: #666666;
    box-shadow: none;
}

.container {
    display: flex;
    flex-direction: column;
}

.form-group {
    order: 2;
    margin-bottom: 18px;
}

.row:nth-child(3) {
    order: 1;
}

.row:nth-child(4) {
    order: 3;
}

#ctl00_ctl00_Body_Body_lbtSubmit {
    order: 4;
    margin-top: 0px;
}

hr {
    display: none;
}

.chk {
    position: relative;
    cursor: pointer;
    padding-top: 4px;
}

.chk input {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    -webkit-transform: scale(0);
        transform: scale(0);
    height: 0;
    width: 0;
}

.chk input:checked + label::after {
    opacity: 1;
}

.chk label {
    position: relative;
    display: block;
    padding-left: 25px;
    margin-left: 0;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
}

.chk label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 17px;
    height: 17px;
    border: 1px solid #AFAFAF;
    border-radius: 2px;
}

.chk label::after {
    content: "";
    position: absolute;
    top: 8px;
    left: 4px;
    width: 9px;
    height: 9px;
    background-color: #AFAFAF;
    border-radius: 2px;
    opacity: 0;
    transition: opacity .2s;
}

#ctl00_ctl00_Body_Body_divFormAfterPosting p {
    font-size: 16px;
    font-size: 1.6rem;
    line-height: 1.8125;
    margin: 20px -5px;
}

.nice-file {
    display: block;
    position: relative;
    height: 62px;
    border-radius: 31px;
    margin-top: 40px;
    background-color: #666666;
    transition: background-color .2s;
}

.nice-file__name {
    display: flex;
    align-items: center;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding: 0 35px;
    color: #fff;
    font-size: 16px;
    line-height: 58px;
    height: 62px;
}

.nice-file__name::before {
    content: "";
    flex: none;
    width: 15px;
    height: 21px;
    background-image: url('https://jobs.tipsport.cz/assets/img/file-upload.svg');
    background-repeat: no-repeat;
    background-size: contain;
    margin-right: 13px;
}

.nice-file__input {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    opacity: 0;
    cursor: pointer;
}

.nice-file__label {
    position: absolute;
    top: -23px;
    left: 0;
}

.nice-file:hover{
    background-color: #595959;
}
