.tds-btn-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #00adb5;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 500;
    width: 100%;
    box-sizing: border-box;
    text-decoration: none;
}

.tds-btn-download:hover,
.tds-btn-download:focus {
    color: #fff;
}

.tds-modal-overlay {
    display: none;
    position: fixed;
    z-index: 999999;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.7);
    overflow-y: auto;
}

body.tds-modal-open {
    overflow: hidden;
}

.tds-modal-content {
    background: #fff;
    margin: 8vh auto;
    padding: 18px;
    border-radius: 10px;
    width: 100%;
    max-width: 400px;
    text-align: center;
    position: relative;
    box-sizing: border-box;
}

.tds-modal-content h3 {
    margin-top: 10px;
}

.tds-close {
    appearance: none;
    position: absolute;
    inset-inline-end: 15px;
    top: 10px;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.tds-phone-group {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    padding-inline: 5px;
    margin: 15px 0;
    background: #fff;
}

.tds-country-code {
    background: #f5f5f5;
    padding: 0 14px;
    height: 48px;
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #555;
    white-space: nowrap;
    border-radius: 8px;
    direction: ltr;
}

#tds-mobile {
    flex: 1;
    min-width: 0;
    width: 100%;
    height: 48px;
    padding: 0 14px;
    margin: 0;
    border: none !important;
    border-radius: 5px;
    box-shadow: none !important;
    outline: none !important;
    text-align: center;
    font-size: 18px;
    direction: ltr;
    background: transparent;
}

#tds-submit {
    background: #00adb5;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
}

#tds-submit:disabled {
    cursor: wait;
    opacity: .65;
}

#tds-message {
    margin-top: 15px;
    font-weight: 500;
}

#tds-message p {
    margin: 0;
    text-align: center !important;
}

.tds-message-success {
    color: green;
    font-weight: 400;
}

.tds-message-error {
    color: #c62828;
}

.tds-message-info {
    color: inherit;
}

#tds-desktop-download {
    display: none;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eaeaea;
}

.tds-direct-file-name {
    margin: 0 0 10px;
    font-size: 13px;
    color: #444;
    overflow-wrap: anywhere;
}

.tds-direct-download-btn {
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
    padding: 10px 15px;
    border-radius: 8px;
    background: green;
    color: #fff !important;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
}

@media (max-width: 767px) {
    .tds-modal-overlay {
        padding: 12px;
    }

    .tds-modal-content {
        margin: 6vh auto;
    }
}
