.elka-search-wrapper {
    max-width: 760px;
    margin: 0 auto;
    padding: 40px 20px 80px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #2b2b2b;
}

.elka-search-title {
    text-align: center;
    color: #1a3c72;
    font-size: 2rem;
    margin: 0 0 10px;
}

.elka-search-subtitle {
    text-align: center;
    color: #666;
    margin: 0 0 30px;
}

.elka-search-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto 20px;
}

.elka-search-form input {
    flex: 1;
    padding: 14px 16px;
    border: 2px solid #dcdcdc;
    border-radius: 12px;
    font-size: 1.1rem;
    box-sizing: border-box;
    transition: border-color .2s;
}
.elka-search-form input:focus { outline: none; border-color: #e53935; }

/* КНОПКИ */
.elka-btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 12px;
    border: none;
    font-size: 1rem;
    font-weight: 700 !important;
    cursor: pointer;
    font-family: inherit;
    transition: transform .15s, box-shadow .15s;
    text-decoration: none !important;
}

.elka-btn-primary {
    background: linear-gradient(180deg, #e53935, #b71c1c) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(229,57,53,.35);
    white-space: nowrap;
}
.elka-btn-primary:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 10px 25px rgba(229,57,53,.5); 
}
.elka-btn-primary:disabled { 
    opacity: .6; 
    cursor: not-allowed; 
    transform: none; 
}

.elka-btn-success {
    background: linear-gradient(180deg, #43a047, #2e7d32) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(67,160,71,.35);
}
.elka-btn-success:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 10px 25px rgba(67,160,71,.5); 
}

.elka-message {
    text-align: center;
    font-weight: 600;
    margin: 10px 0 20px;
    min-height: 22px;
}
.elka-message.is-error { color: #c62828 !important; }
.elka-message.is-success { color: #2e7d32 !important; }

/* Карточка */
.elka-card {
    background: #fff !important;
    border-radius: 18px;
    padding: 28px 26px;
    margin-top: 20px;
    box-shadow: 0 6px 30px rgba(0,0,0,.08);
    border: 1px solid #eef1f5;
    animation: elka-in .3s ease;
    color: #2b2b2b !important;
}
@keyframes elka-in { from { opacity:0; transform: translateY(10px);} to { opacity:1; transform: translateY(0);} }

.elka-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid #f2f4f8;
    padding-bottom: 14px;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 10px;
}

.elka-number {
    font-size: 1.6rem;
    font-weight: 800;
    color: #e53935 !important;
}

.elka-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: .85rem;
    font-weight: 700;
}
.elka-badge-free    { background: #e3f2fd !important; color: #1565c0 !important; }
.elka-badge-taken   { background: #fff8e1 !important; color: #f57f17 !important; }
.elka-badge-ordered { background: #f3e5f5 !important; color: #6a1b9a !important; }
.elka-badge-gifted  { background: #e8f5e9 !important; color: #2e7d32 !important; }

.elka-row {
    display: flex;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px dashed #eef1f5;
    font-size: .95rem;
}
.elka-row:last-child { border-bottom: none; }
.elka-row .elka-label {
    min-width: 220px;
    color: #666 !important;
    font-weight: 600;
    flex-shrink: 0;
}
.elka-row .elka-value { 
    flex: 1; 
    color: #2b2b2b !important;
}

.elka-gift-link {
    display: inline-block;
    background: #1e88e5 !important;
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none !important;
    font-weight: 700;
    margin-top: 8px;
}
.elka-gift-link:hover { background: #1565c0 !important; }

.elka-section {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 2px solid #f2f4f8;
}

.elka-section-title {
    font-size: 1.1rem;
    color: #1a3c72 !important;
    margin: 0 0 14px;
}

.elka-note {
    background: #fffbe6 !important;
    border-left: 4px solid #fdd835;
    padding: 12px 16px;
    border-radius: 8px;
    margin: 16px 0;
    font-size: .95rem;
    line-height: 1.5;
    color: #333 !important;
}

.elka-form label {
    display: block;
    margin-bottom: 14px;
    font-weight: 600;
    font-size: .95rem;
    color: #2b2b2b !important;
}
.elka-form input[type="text"],
.elka-form input[type="tel"] {
    display: block;
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #dcdcdc;
    border-radius: 10px;
    font-size: 1rem;
    margin-top: 6px;
    box-sizing: border-box;
    transition: border-color .2s;
    color: #2b2b2b !important;
    background: #fff !important;
}
.elka-form input:focus { outline: none; border-color: #e53935; }

.elka-check {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    font-weight: 400;
    cursor: pointer;
    user-select: none;
    padding: 4px 0;
}
.elka-check span {
    line-height: 1.4;
}
.elka-check input { 
    margin-top: 3px; 
    flex-shrink: 0; 
    width: 18px !important;
    height: 18px !important;
}

.elka-btn-block { width: 100%; margin-top: 10px; }

.elka-status-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}
.elka-status-list li {
    padding: 10px 0;
    border-bottom: 1px dashed #eef1f5;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #2b2b2b !important;
}
.elka-status-list li:last-child { border-bottom: none; }
.elka-status-icon { font-size: 1.2rem; margin-top: 2px; }

@media (max-width: 600px) {
    .elka-search-title { font-size: 1.5rem; }
    .elka-search-form { flex-direction: column; }
    .elka-row { flex-direction: column; gap: 3px; }
    .elka-row .elka-label { min-width: 0; font-size: .85rem; }
    .elka-card { padding: 20px 16px; }
}