.modal-android-app {
    width: 94vw;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    background: #171f1b;
    border: 1px solid #3c5147;
    border-radius: clamp(15px, 4vw, 30px);
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0,0,0,.55); 
}

/* Hlavička */

.header-android-app {
    height: clamp(70px, 18vw, 110px);
    background: linear-gradient(110deg, #118653, #16b676);
    border-bottom: 1px solid #19cc85;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6%;
}

.header-android-app h2 {
    margin: 0;
    font-size: clamp(27px, 8vw, 43px);
    font-weight: 600;
}

.close-android-app {
    border: 0;
    background: transparent;
    color: white;
    font-size: clamp(34px, 10vw, 52px);
    font-weight: 300;
    cursor: pointer;
}

/* Obsah */

.content-android-app {
    padding: 5.5%;
}

.modal-android-app label {
    display: block;
    color: #dce9e1;
    font-size: clamp(16px, 5.2vw, 25px);
    margin-bottom: 10px;
}

/* Váha a opakovania */

.modal-android-app .values {
    display: grid;
    grid-template-columns: 1.12fr .75fr 1.12fr;
    gap: 2.5%;
    margin-bottom: 5%;
    align-items: end;
}

.modal-android-app input, .modal-android-app select, .modal-android-app textarea {
    width: 100%;
    background: #19231e;
    border: 2px solid #52645a;
    border-radius: 15px;
    color: white;
    outline: none;
    font-family: inherit;
}

.modal-android-app input, .modal-android-app select {
    height: clamp(52px, 13.5vw, 72px);
    padding: 0 12px;
    font-size: clamp(20px, 6.5vw, 32px);
}

.modal-android-app select {
    background-color: #303c35;
    font-weight: 600;
    padding: 0 8px;
}

.modal-android-app input:focus, .modal-android-app select:focus, .modal-android-app textarea:focus {
    border-color: #19cc85;
}

/* NEXT SET */

.modal-android-app .next-set {
    margin-bottom: 6%;
}

.modal-android-app .next-title {
    font-size: clamp(15px, 4.5vw, 22px);
    color: #dce9e1;
    margin-bottom: 10px;
}

.modal-android-app .next-row {
    display: grid;
    grid-template-columns: 0.85fr 1fr auto 1.15fr;
    gap: 8px;
    align-items: center;
}

.modal-android-app .next-row select,
.modal-android-app .next-row input {
    height: clamp(43px, 11vw, 58px);
    border-radius: 11px;
    font-size: clamp(17px, 5vw, 24px);
    padding: 0 9px;
    text-align: center;
    min-width: 0;
}

.next-row select {
    color: #19cc85;
    font-weight: 700;
    text-align-last: center;
}

.modal-android-app .next-row input {
    font-variant-numeric: tabular-nums;
}

.modal-android-app .equals {
    color: #19cc85;
    font-size: clamp(22px, 6vw, 30px);
    font-weight: 600;
    text-align: center;
}

.modal-android-app .next-result {
    background: #25382e !important;
    border-color: #16b676 !important;
    color: #7ce5b5 !important;
    font-weight: 600;
}

.modal-android-app .next-result-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.modal-android-app .next-result-wrap .next-result {
    width: 0;
    flex: 1;
    min-width: 0;
}

.modal-android-app .next-result-unit {
    color: #7ce5b5;
    font-size: clamp(13px, 3.5vw, 17px);
    font-weight: 600;
    white-space: nowrap;
}

.modal-android-app .next-hint {
    font-size: 12px;
    color: #8fa397;
    margin-top: 7px;
}

/* Typ série */

.modal-android-app .section-label {
    font-size: clamp(19px, 5.5vw, 29px);
    color: #dce9e1;
    margin-bottom: 3%;
}

.modal-android-app .types {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2%;
    margin-bottom: 6.5%;
}

.modal-android-app .type {
    min-width: 0;
    min-height: clamp(58px, 15vw, 82px);
    padding: 5px 2px;
    border: 2px solid #4b5b51;
    border-radius: 15px;
    background: #29362e;
    color: #e9f1ec;
    font-size: clamp(10px, 3.2vw, 18px);
    line-height: 1.3;
    cursor: pointer;
}

.modal-android-app .type.active {
    background: #16b676;
    border-color: #19cc85;
    color: white;
}

/* Poznámka */

.modal-android-app .note {
    margin-bottom: 6.5%;
}

.note textarea {
    height: clamp(68px, 18vw, 94px);
    padding: 12px 16px;
    resize: vertical;
    font-size: clamp(17px, 5.5vw, 28px);
}

.modal-android-app textarea::placeholder {
    color: #899b90;
}

/* Tlačidlá */

.modal-android-app .actions {
    display: flex;
    gap: 3%;
}

.modal-android-app .actions button {
    flex: 1;
    min-width: 0;
    height: clamp(58px, 15vw, 82px);
    border-radius: 17px;
    font-size: clamp(16px, 4vw, 26px);
    font-weight: 600;
    cursor: pointer;
    padding: 0 4px;
}

.modal-android-app .cancel {
    background: #303c35;
    border: 2px solid #46574c;
    color: white;
}

.modal-android-app .save {
    background: #16b676;
    border: 2px solid #19cc85;
    color: white;
}

.modal-android-app .delete-set {
    background: #f43325;
    border: 2px solid #f43325;
    color: white;
}

.modal-android-app .delete-set:hover {
    background: #f5493d;
    border-color: #f5493d;
}

.modal-android-app .delete-set[hidden] {
    display: none;
}

/* PRIHLASOVACÍ MODAL */

/* Prihlasovacie polia */

.modal-login .login-fields {
    margin-bottom: 5%;
}

/* Ostať prihlásený a zabudnuté heslo */

.modal-login .login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 2% 0 6%;
}

.modal-login .rememberMe2 {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    font-size: clamp(13px, 3.8vw, 18px);
}

.modal-login .rememberMe2 input {
    width: 20px;
    height: 20px;
    accent-color: #16b676;
    flex-shrink: 0;
}

.modal-login .forgot-password {
    color: #7ce5b5;
    font-size: clamp(13px, 3.8vw, 18px);
    text-decoration: none;
    white-space: nowrap;
}

/* Hlavné tlačidlo */

.modal-login .login-action {
    margin-bottom: 6%;
}

/* Oddeľovač */

.modal-login .login-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #8fa397;
    font-size: 13px;
    margin-bottom: 5%;
}

.modal-login .login-divider span {
    flex: 1;
    height: 1px;
    background: #46574c;
}

/* Google tlačidlo */

.modal-login .login-google {
    width: 100%;
    height: clamp(58px, 15vw, 82px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 2px solid #52645a;
    border-radius: 17px;
    background: #29362e;
    color: white;
    font-family: inherit;
    font-size: clamp(15px, 4vw, 22px);
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 5%;
}

.modal-login .google-letter {
    color: #7ce5b5;
    font-size: 25px;
    font-weight: 700;
}

/* Zrušiť */

.modal-login .login-cancel {
    margin-top: 2%;
}

/* REGISTRAČNÝ MODAL */

.modal-register .register-intro {
    color: #8fa397;
    font-size: clamp(13px, 3.8vw, 17px);
    margin: 0 0 6%;
}

.modal-register .register-fields {
    margin-bottom: 4%;
}

.modal-register .register-fields input::placeholder {
    color: #899b90;
    opacity: 1;
}

.modal-register .register-captcha {
    display: flex;
    justify-content: center;
    margin: 6% 0;
     width: 100%;
   /* overflow: hidden; */
}

.modal-register .register-actions {
    margin-top: 2%;
}

/* MODAL OBDOBIE */

.modal-period .period-field {
    margin-bottom: 5%;
}

.modal-period .period-field input::placeholder {
    color: #899b90;
    opacity: 1;
}

/* Color picker */

.modal-period .period-color input[type="color"] {
    width: 100%;
    height: clamp(52px, 13.5vw, 72px);
    padding: 5px;
    cursor: pointer;
}

.modal-period .period-color input[type="color"]::-webkit-color-swatch-wrapper {
    padding: 3px;
}

.modal-period .period-color input[type="color"]::-webkit-color-swatch {
    border: 0;
    border-radius: 8px;
}

/* OBNOVENIE HESLA */

.modal-forgot-password .forgot-password-fields {
    margin-bottom: 5%;
}

.modal-forgot-password .forgot-password-fields input::placeholder {
    color: #899b90;
    opacity: 1;
}

.modal-forgot-password .forgot-password-info {
    color: #8fa397;
    font-size: clamp(13px, 3.8vw, 17px);
    line-height: 1.5;
    margin: 0 0 7%;
}

.modal-forgot-password .forgot-password-form .actions {
    margin-top: 2%;
}

/* PRIDANIE SVALOVEJ SKUPINY */

.modal-add-group .add-group-field {
    margin-bottom: 7%;
}

.modal-add-group .add-group-field input::placeholder {
    color: #899b90;
    opacity: 1;
}

.modal-add-group .add-group-form .actions {
    margin-top: 2%;
}

/* Menšie displeje */

@media (max-width: 360px) {
    .content-android-app {
        padding: 5%;
    }

    .modal-android-app .values {
        gap: 2%;
    }

    .modal-android-app .type {
        font-size: 10px;
        border-radius: 11px;
    }

    .modal-android-app .next-row {
        gap: 5px;
    }

    .modal-android-app .next-row select,
    .modal-android-app .next-row input {
        padding: 0 5px;
    }
}