.dzc-delivery-checker {
    background: linear-gradient(135deg, #e91e63 0%, #ad1457 100%);
    border-radius: 15px;
    padding: 60px 80px;
    color: white;
    font-family: "Poppins", sans-serif;
    margin: 20px auto;
    box-shadow: 0 20px 40px rgba(233, 30, 99, 0.3);
}

.dzc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 20px;
}

.dzc-header-left {
    flex: 1;
    text-align: left;
}

.dzc-header-right {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.dzc-title {
    font-size: 28px !important;
    font-weight: 700 !important;
    margin: 0 0 6px 0 !important;
    line-height: 1.2 !important;
    color: white !important;
    text-align: left !important;
}

.dzc-subtitle {
    font-size: 15px !important;
    opacity: 0.9;
    margin: 0 !important;
    line-height: 1.4;
    color: white !important;
    text-align: left !important;
}

.dzc-tabs {
    display: flex;
    gap: 10px;
}

.dzc-tab {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dzc-tab:hover {
    background: rgba(255, 255, 255, 0.25);
}

.dzc-tab.active {
    background: white;
    color: #d72660;
    border-color: white;
}

/* Search form - input group v bílém boxu, vyhledat vedle */
.dzc-search-container {
    background: transparent;
    padding: 0;
    border: none;
}

.dzc-search-form {
    display: flex;
    align-items: stretch;
    gap: 20px;
}

.dzc-input-group {
    flex: 1;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.10);
    border-radius: 15px;
    padding: 15px 15px 10px 20px;
    border: none;
}

.dzc-input-wrapper {
    flex: 1;
    position: relative;
    z-index: 10000;
}

.dzc-location-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #d72660;
    z-index: 2;
    transition: all 0.3s ease;
}

.dzc-location-icon.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: translateY(-50%) scale(1); }
    50% { opacity: 1; transform: translateY(-50%) scale(1.1); }
}

#dzc-address-input {
    width: 100%;
    padding: 0px 16px 0px 0px;
    border: none;
    border-radius: 50px;
    background: transparent;
    font-size: 15px;
    color: #fff;
    transition: all 0.3s ease;
}

#dzc-address-input::placeholder {
    color: #999;
}

#dzc-address-input:focus {
    outline: none;
}

.dzc-suggestions {
    position: absolute;
    top: calc(100% + 10px);
    left: -6px;
    right: -120px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 10001;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    border: 1px solid #e0e0e0;
}

.dzc-suggestion {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
    color: #333;
    font-size: 14px;
    line-height: 1.4;
}

.dzc-suggestion:hover {
    background-color: #f8f8f8;
}

.dzc-suggestion:last-child {
    border-bottom: none;
}

/* Tlačítko Moje poloha - uvnitř input group */
.dzc-location-btn {
    background: #fff;
    border: 1px solid #e0e0e0;
    color: #d72660;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    margin-right: 6px;
}

.dzc-location-btn:hover {
    background: #f8f8f8;
    border-color: #d72660;
}

/* Tlačítko Vyhledat - samostatně vedle */
.dzc-search-btn {
    background: white;
    color: #d72660;
    border: none;
    padding: 35px 32px;
    border-radius: 15px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.dzc-search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.dzc-search-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.dzc-search-btn.loading {
    background: rgba(255, 255, 255, 0.8);
    animation: searchPulse 1s ease-in-out infinite;
    font-size: 24px;
}

.dzc-search-btn.loading span {
    display: none;
}

.dzc-search-btn.loading .dzc-result-emoji {
    display: inline-block;
    animation: emojiPulse 0.8s ease-in-out infinite;
}

.dzc-result-emoji {
    display: none;
}

@keyframes emojiPulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.2); opacity: 1; }
}

@keyframes searchPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.dzc-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #e91e63;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Výsledek ověření - bílá karta pod růžovým boxem */
.dzc-result-card {
    margin-top: 16px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.dzc-card-content {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
}

.dzc-card-content.error {
    flex-direction: column;
    align-items: stretch;
}

.dzc-card-row {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.dzc-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.dzc-card-icon.success {
    background: linear-gradient(135deg, #d72660 0%, #a91e4f 100%);
}

.dzc-card-icon.error {
    background: linear-gradient(135deg, #d72660 0%, #a91e4f 100%);
}

.dzc-card-info {
    flex: 1;
    text-align: left;
}

.dzc-card-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    margin: 0 0 4px 0 !important;
    line-height: 1.3 !important;
    color: #1a1a1a !important;
}

.dzc-card-address {
    font-size: 14px !important;
    margin: 0 !important;
    color: #666 !important;
    line-height: 1.4;
}

/* Rozvozová okna - inline pod adresou */
.dzc-card-times-inline {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.dzc-card-times-label {
    font-size: 12px !important;
    color: #999 !important;
    margin: 0 !important;
    font-weight: 400 !important;
}

.dzc-card-time-tag {
    background: transparent;
    border: 1px solid #e0e0e0;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    color: #555;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.dzc-card-time-tag .time-icon {
    font-size: 11px;
}

.dzc-card-action {
    flex-shrink: 0;
}

.dzc-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    white-space: nowrap;
}

.dzc-card-btn.success {
    background: linear-gradient(135deg, #d72660 0%, #a91e4f 100%);
    color: white;
}

.dzc-card-btn.success:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(215, 38, 96, 0.4);
}

.dzc-card-btn.error {
    background: linear-gradient(135deg, #d72660 0%, #a91e4f 100%);
    color: white;
}

.dzc-card-btn.error:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(215, 38, 96, 0.4);
}

.dzc-btn-arrow {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.dzc-card-btn:hover .dzc-btn-arrow {
    transform: translateX(3px);
}

/* Email formulář pro error stav */
.dzc-card-email-form {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.dzc-email-input {
    flex: 1;
    padding: 14px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
    background: white;
}

.dzc-email-input:focus {
    border-color: #d72660;
}

.dzc-email-input::placeholder {
    color: #999;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dzc-no-times {
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    margin: 0;
    padding: 8px 0;
}

.dzc-times-grid {
    display: grid;
    gap: 12px;
}

.dzc-day-schedule {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dzc-day-schedule strong {
    font-size: 14px;
    opacity: 0.9;
}

.dzc-time-slot {
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 12px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.dzc-time {
    font-weight: 600;
}

.dzc-vehicle {
    opacity: 0.8;
    font-size: 12px;
}

/* Live status */
.dzc-live-status {
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 8px;
    padding: 12px;
    margin-top: 12px;
    text-align: center;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.dzc-order-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dzc-order-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

/* Responsive design */
@media (max-width: 900px) {
    .dzc-header {
        flex-direction: column;
        gap: 16px;
    }

    .dzc-header-right {
        width: 100%;
    }

    .dzc-tabs {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .dzc-delivery-checker {
        padding: 24px 20px;
        border-radius: 12px;
    }

    .dzc-title {
        font-size: 24px !important;
    }

    .dzc-subtitle {
        font-size: 14px !important;
    }

    .dzc-search-form {
        flex-direction: column;
        align-items: stretch;
    }

    .dzc-input-group {
        flex-direction: column;
        padding: 8px;
        border-radius: 16px;
    }

    .dzc-input-wrapper {
        width: 100%;
    }

    .dzc-location-btn {
        width: 100%;
        justify-content: center;
        margin-right: 0;
        margin-top: 8px;
        border-radius: 50px;
    }

    .dzc-search-btn {
        width: 100%;
        justify-content: center;
    }

    /* Výsledek karta responzivní */
    .dzc-card-content.success {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .dzc-card-row {
        flex-direction: column;
        text-align: center;
    }

    .dzc-card-info {
        text-align: center;
    }

    .dzc-card-times-wrapper {
        text-align: center;
    }

    .dzc-card-times {
        justify-content: center;
    }

    .dzc-card-action {
        width: 100%;
    }

    .dzc-card-btn {
        width: 100%;
        justify-content: center;
    }

    .dzc-card-email-form {
        flex-direction: column;
        gap: 12px;
    }

    .dzc-email-input {
        width: 100%;
    }
}