#kickoff-main h1 {
    width: 100%;
    padding: 40px 0 0 0;
    text-align: left;
    margin: 80px 0 0 0;
}

#kickoff-main h2 {
    margin: 0;
}

#kickoff-main h4 {
    margin-top: -25px;
}

.seo-intro {
    padding: 0;
    margin-top: -40px;
}

.seo-intro h4 {
    padding-top: 40px;
    padding-bottom: 0;
    margin-bottom: 0;
}

.seo-intro p {
    margin-top: 0;
}

.tip-block {
    display: flex;
    flex-direction: row;
    width: fit-content;
    background: rgba(0, 0, 0, 0.04);
    font-size: 1.1rem;
    padding: 24px 36px;
    margin: 40px 0;
    border-radius: 16px;
}

.tip-block p {
    margin: 0;
    padding: 0 0 0 24px;
}

#kickoff-form {
    grid-column: 1 / 13;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

#kickoff-form h4 {
    padding-bottom: 10px;
}

.form-block {
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
    position: relative;
}

.form-block h4 .min {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    font-size: 1rem;
    font-weight: normal;
    color: var(--secondary-clr);
    margin-left: 8px;
}

.form-block:focus-within h4 .min {
    opacity: .5;
    visibility: visible;
}


#kickOffNumber {
    color: var(--accent-clr);
    font-size: 1.5rem;
    display: block;
    margin-top: -10px;
}



.radio-select {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.radio-block {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.2s;
    display: block;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.radio-label {
    display: block;
    padding: 24px 16px;
    font-size: 1.25rem;
    text-align: center;
}

.radio-label strong {
    text-transform: uppercase;
}

@media (hover: hover) {
    .radio-block:hover {
        border-color: #007BFF;
        background-color: #f0f8ff;
    }
}

.radio-block input[type="radio"],
.radio-block input[type="checkbox"] {
    display: none;
}

.radio-block input[type="radio"]:checked + .radio-label,
.radio-block input[type="checkbox"]:checked + .radio-label {
    background-color: var(--accent-clr);
    color: white;
    border-radius: 6px;
}

.radio-block input:disabled + .radio-label {
    background-color: #e0e0e0 !important; 
    color: #888888 !important;    
    cursor: not-allowed;
    border-color: rgba(0,0,0,0.1) !important;
}


.field-number {
    color: var(--accent-clr);
    padding: 6px;
    font-size: 1rem;
    margin-right: 8px;
    background: #4169e120;
    border-radius: 8px;
}

textarea {
    padding: 16px 8px !important;
    margin: 0px;
    font-size: 1rem;
}

textarea:focus, input:focus {
outline: none;
}


.autosave-status {
    position: absolute;
    bottom: 45px;
    left: 15px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    color: whitesmoke;
    background: rgba(0, 0, 0, 0.9);
    padding: 4px 16px;
    border-radius: 999px;
    z-index: 10;
    opacity: 0;
    transform: translateY(-5px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
}

.autosave-status.visible {
    opacity: 1;
    transform: translateY(0);
}

.error {
    border: 1px solid rgba(255, 0, 0, 0.75) !important;
    background-color: rgba(255, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-radius: 4px !important;
    padding: 16px 8px !important;
}

.char-count {
    font-size: 12px;
    color: var(--secondary-clr);
    text-align: left;
    margin-top: 0;
}

.what-when {
    border-left: 2px solid var(--accent-clr);
    padding-left: 5%;
    padding-top: 16px;
    padding-bottom: 16px;
}

#wantTwo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 16px 16px 24px;
    background-color:white;
    color: rgb(32, 32, 32);
    font-weight: bold;
    font-size: 1rem;
    border: 1px solid #4169e176;
    border-radius: 999px;
    cursor: pointer;
}

#wantTwo img {
    transition: opacity 0.3s ease;
    display: inline-block;
    vertical-align: middle;
    border-right: 1px solid var(--accent-clr);
    margin-right: 4px;
    padding-right: 8px;
}

.popup-warning {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
  animation: fadeIn 0.3s ease forwards;
}

.popup-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px 30px;
  border-radius: 16px;
  max-width: 500px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  text-align: center;
  position: relative;
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  color: #333;
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

#popupMessage, #welcomePopup {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
}

.popup-priority, #popupMessage .push-header, #popupMessage .contacts {
    width: 100%;
    font-weight: bold;
    padding: 0;
    border-radius: 16px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
}

.popup-priority img, #popupMessage .push-header img, #popupMessage .contacts img {
    padding: 8px;
    background: rgb(208, 99, 95);
    border-radius: 999px;
    border: 8px solid rgb(250, 226, 229);
}

#popupMessage .please {
    display: flex;
    flex-direction: row;
    width: 100%;
    color: var(--accent-clr);
    font-weight: bold;
    background: #007bff16;
    padding: 40px;
    border-radius: 16px;
    margin-top: 24px;
}

#popupMessage .please .upper {
    margin: auto;
    background: white;
    padding: 16px 24px;
    margin-right: 16px;
    border-radius: 8px;
}

#popupMessage .please p {
    text-align: left;
    padding-left: 8px;
}

#popupMessage div:not([class]) {
    width: fit-content;
}

#popupMessage > div:only-child {
    background-color: white;
    padding: 15px;
    font-size: 1.15rem;
    color: var(--secondary-clr);
}

#popupMessage div:not([class])::after {
    content: ",";
}

#popupMessage div:not([class]):last-child::after {
    content: "";
}

#welcomePopup {
    background-color: var(--accent-clr);
    color: white;
    width: fit-content;
    font-size: 1.15rem;
    padding: 16px 24px;
    border-radius: 16px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
}

#welcomePopup button, .popup-buttons button {
    padding: 16px 24px;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    background: white;
    transition: all 0.3s ease;
    
    cursor: pointer;
}

@media (hover: hover) {
    #welcomePopup button:hover, .popup-buttons button:hover {
        transform: scale(1.05);
    }

    .popup-buttons button:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.2); 
        color: white;
        transition: all 300ms;
    }
}

#welcomePopup button:active, .popup-buttons button:active {
    transform: scale(0.96);
}

.welcome-buttons, .popup-buttons {
    display: flex;
    flex-direction: row;
    gap: 24px;
    margin: 24px 0 40px 0;
}

#welcomeLoad {
    border-radius: 16px !important;
}

#welcomeClear {
    background: var(--accent-clr) !important;
    color: white;
    border: 2px solid white !important;
    border-radius: 16px !important;
}

.popup-buttons > .popup-submit-btn:only-child, .popup-submit-btn, .popup-extra-btn {
    background: rgb(192, 204, 254) !important;
    color: var(--secondary-clr) !important;
    border-radius: 16px !important;
    font-weight: bold;
    letter-spacing: 1px;
    
    transition: all 0.6s ease;  
    position: relative;         
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.popup-submit-btn[data-text="Odeslat"],
.popup-extra-btn[data-text="Odeslat"] {
    background: #2B49A6 !important;
    color: white !important;
}

.popup-submit-btn[data-text="Odeslat"]::before,
.popup-extra-btn[data-text="Odeslat"]::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 8px;
  margin-bottom: 4px;
  background-image: url("/images/icon/sent.svg");
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
}

.popup-submit-btn[data-text="Doplnit"]::before,
.popup-extra-btn[data-text="Doplnit"]::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 8px;
  background-image: url("/images/icon/pen.svg");
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
}


#kickoff-form #submit {
    width: fit-content;
  padding: 32px 100px;
  background: linear-gradient(45deg, #2B49A6, #292C34, #2B49A6);
  color: #fff;
  font-size: 1.25rem;
  text-align: left;
  cursor: pointer;
  margin-top: 64px;
  margin-bottom: 128px;
  user-select: none;
  border-radius: 16px;
  -webkit-border-radius: 16px;
  -moz-border-radius: 16px;
  -ms-border-radius: 16px;
  -o-border-radius: 16px;
  border: none;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 20px 25px -5px, var(--accent-clr) 0px 5px 20px -10px;
}

@media (hover: hover) {
    #kickoff-form #submit:hover {
        background: var(--accent-clr);
        box-shadow: none;
    }
}



#popupMessage div span {
    display: inline-block;
}

#popupMessage .please {
    display: block;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

#popupMessage .please p {
    margin-top: 5px;
    font-style: italic;
}

.successfuly-sent_check-term h2 {
    text-align: center;
}

#send-kickoff_link {
    font-weight: bold;
    color: var(--link-clr);
    font-size: 1.5rem !important;
    display: block;
    width: fit-content;
    padding: 20px 40px;
    margin: 0 auto;
    text-decoration: none;
    border: 2px solid var(--link-clr);
    border-radius: 999px;
    transition: all 0.6s ease;  
    position: relative;         
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

@media (hover: hover) {
    #send-kickoff_link:hover {
        border: 2px solid var(--link-clr);
        background-color: var(--link-clr);
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.3); 
        color: white;
        transition: all 300ms;
    }
}


.successfuly-sent_check-term #next-block {
    padding-top: 60px;
}

.radio-block:active, 
#welcomePopup button:active, 
.popup-buttons button:active, 
#kickoff-form #submit:active {
    opacity: 0.8;
    transform: scale(0.98);
}


@media (min-width: 1000px) {

    #kickoff-form {
        grid-column: 2 / 12;
    }

        .radio-select {
        flex-direction: row;
    }

    .radio-block {
        width: calc(33% - 24px);
    }

}