/*
 * Telkosh Lead Form — shared styles
 * ----------------------------------
 * Used by lead-form.js to render the "Name / Email / Company / Phone /
 * Product Interest" hero lead-capture form used on country landing pages.
 *
 * To use on a new page:
 *   1. <link rel="stylesheet" href="/lead-form.css"> in <head>
 *   2. <div data-lead-form data-lead-page="landingpage-xxx"></div> where you
 *      want the form to render
 *   3. <script src="/lead-form.js"></script> before </body>
 *
 * See lead-form.js for all supported data-* configuration attributes.
 */

/* Card */
.form-card {
    background: linear-gradient(90deg, #121212 0%, #152C51 100%);
    border: none;
    border-radius: 24px;
    padding: 50px 44px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
}

.form-group-my {
    margin-bottom: 25px;
}

.form-label-my {
    display: block;
    font-size: 13px;
    font-weight: 400;
    color: #d1d5db;
    margin-bottom: 8px;
}

/* Text / email / tel inputs */
.form-input-my {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #374151;
    border-radius: 0;
    padding: 5px 0 12px 0;
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    outline: none;
    cursor: text;
    transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.form-input-my::placeholder {
    color: #4b5563;
    font-size: 14px;
}

.form-input-my:hover {
    border-color: #5b6b82;
}

.form-input-my:focus {
    background: transparent;
    color: #ffffff;
    box-shadow: none;
    border-color: #3b82f6;
}

/* Phone row (country code select + number input) */
.phone-row {
    display: flex;
    align-items: flex-end;
    gap: 14px;
}

.phone-row .form-input-my {
    flex: 1;
    min-width: 0;
}

/* ── Custom dropdown (replaces native <select> UI for country code & product interest) ── */
.visually-hidden-select {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.tk-select {
    position: relative;
}

.cc-select {
    flex-shrink: 0;
    min-width: 92px;
    max-width: 108px;
}

.tk-select-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background: transparent;
    border: none;
    border-bottom: 1px solid #374151;
    border-radius: 0;
    padding: 5px 2px 12px 0;
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.tk-select-btn span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tk-select-btn.placeholder-text span {
    color: #4b5563;
    font-size: 14px;
}

.tk-select-btn:hover {
    border-color: #5b6b82;
}

.tk-select.open .tk-select-btn {
    border-color: #3b82f6;
}

.tk-chevron {
    flex-shrink: 0;
    color: #9ca3af;
    transition: transform 0.25s ease, color 0.25s ease;
}

.tk-select.open .tk-chevron {
    transform: rotate(180deg);
    color: #3b82f6;
}

.tk-select-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    min-width: 160px;
    background: #0d1526;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    padding: 6px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-6px);
    transition: max-height 0.28s ease, opacity 0.22s ease, transform 0.22s ease;
    z-index: 20;
}

.tk-select.open .tk-select-menu {
    max-height: 260px;
    opacity: 1;
    transform: translateY(0);
    overflow-y: auto;
}

.tk-select-menu::-webkit-scrollbar {
    width: 6px;
}

.tk-select-menu::-webkit-scrollbar-track {
    background: transparent;
}

.tk-select-menu::-webkit-scrollbar-thumb {
    background: rgba(59, 130, 246, 0.45);
    border-radius: 10px;
}

.tk-select-menu {
    scrollbar-width: thin;
    scrollbar-color: rgba(59, 130, 246, 0.45) transparent;
}

.tk-option {
    padding: 10px 12px;
    border-radius: 8px;
    color: #e5e7eb;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.18s ease, color 0.18s ease;
}

.tk-option:hover {
    background: rgba(59, 130, 246, 0.14);
    color: #75d1ff;
}

.tk-option.selected {
    background: rgba(59, 130, 246, 0.18);
    color: #75d1ff;
    font-weight: 600;
}

/* Submit button */
.btn-form-submit {
    width: 100%;
    padding: 16px;
    background-color: #3b82f6;
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 500;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.39);
    margin-top: 8px;
}

.btn-form-submit:hover {
    background-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.23);
}
