:root {
    --accent: #25D366;
    /* WhatsApp-like green */
    --dropdown-bg: #0f1720;
    /* dark dropdown background */
    --dropdown-item-hover: rgba(255, 255, 255, 0.04);
    --dropdown-text: #e6eef6;
}

body {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    background: #fbf7f2;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

/* Contenedor principal blanco con borde y esquinas redondeadas */
.card {
    width: 80%;
    max-width: 820px;
    padding: 48px 56px;
    background: #ffffff;
    border: 1px solid #0f1720;
    border-radius: 36px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    margin-right: 15px;
    margin-left: 15px;
}

h1 {
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 8px
}

.subtitle {
    color: #374151;
    margin-bottom: 28px
}

/* selector visuals */
.select-btn {
    background: white;
    border: 1.5px solid #111827;
    border-radius: 28px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 360px;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.02);
}

.select-left {
    display: flex;
    align-items: center;
    gap: 12px
}

.flag-img {
    width: 26px;
    height: 18px;
    object-fit: cover;
    border-radius: 3px
}

/* phone input */
.phone-input {
    width: 360px;
    background: white;
    border: 1.5px solid #111827;
    border-radius: 28px;
    padding: 12px 18px;
    font-size: 16px
}

/* green button like screenshot */
.btn-next {
    background: var(--accent);
    color: white;
    padding: 12px 36px;
    border-radius: 28px;
    font-weight: 600;
    box-shadow: 0 6px 0 rgba(37, 211, 102, 0.08)
}

/* dropdown panel (dark) */
.panel {
    position: absolute;
    z-index: 1000;
    width: 360px;
    background: var(--dropdown-bg);
    color: var(--dropdown-text);
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 12px 40px rgba(2, 6, 23, 0.6);
}

.search-box {
    background: #071017;
    border: 2px solid rgba(37, 211, 102, 0.18);
    padding: 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px
}

.search-box input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--dropdown-text);
    width: 100%;
    font-size: 14px
}

.list {
    max-height: 300px;
    overflow: auto;
    border-radius: 8px;
    padding-right: 6px
}

.item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 8px
}

.item:hover {
    background: var(--dropdown-item-hover);
    cursor: pointer
}

.item .meta {
    display: flex;
    flex-direction: column
}

.item .name {
    font-weight: 600
}

.item .dial {
    color: #aeb8bf;
    font-size: 13px
}

.check {
    color: var(--accent);
    margin-left: auto
}

.item-active {
    background: var(--dropdown-item-hover);
}

/* navigation bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid #e5e7eb;
    padding: 16px 32px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    z-index: 2000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.navbar-logo {
    height: 32px;
    width: auto;
}

body {
    padding-top: 72px;
}

/* small screens */
@media (max-width:640px) {

    .select-btn,
    .phone-input,
    .panel {
        width: 100%
    }

    .navbar {
        padding: 12px 20px;
    }

    .navbar-logo {
        height: 28px;
    }
}