.tecelliabi-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999999;
    display: none;
}

.tecelliabi-popup .popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.tecelliabi-popup .popup-header {
    text-align: center;
    margin-bottom: 20px;
}

.tecelliabi-popup .popup-header i {
    font-size: 48px;
    color: #f2002d;
    margin-bottom: 15px;
    display: block;
}

.tecelliabi-popup .popup-header h3 {
    font-size: 24px;
    color: #171817;
    margin: 0;
}

.tecelliabi-popup .popup-body {
    text-align: center;
}

.tecelliabi-closed-message {
    font-size: 24px;
    font-weight: bold;
    color: #f2002d;
    margin-bottom: 15px;
}

.tecelliabi-next-open {
    font-size: 18px;
    color: #171817;
    margin-bottom: 30px;
    text-align: center;
}

.tecelliabi-working-hours {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.tecelliabi-working-hours-title {
    font-size: 18px;
    font-weight: bold;
    color: #171817;
    margin-bottom: 15px;
    text-align: center;
}

.tecelliabi-working-hours-list {
    max-width: 400px;
    margin: 0 auto;
}

.tecelliabi-working-hours-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
}

.tecelliabi-working-hours-row:last-child {
    border-bottom: none;
}

.tecelliabi-working-hours-row .day {
    font-weight: 500;
    color: #171817;
}

.tecelliabi-working-hours-row .hours {
    color: #666;
}

/* Animasyon */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.tecelliabi-closed-icon {
    animation: pulse 2s infinite;
}

.closed-day-message {
    font-size: 24px;
    font-weight: bold;
    color: #f2002d;
    margin-bottom: 20px;
    text-align: center;
}

.tecelliabi-teslimat-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999999;
    display: none;
}

.tecelliabi-teslimat-popup.active {
    display: block;
}

.tecelliabi-teslimat-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.tecelliabi-teslimat-popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 0;
}

.tecelliabi-teslimat-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 30px;
    border-bottom: 1px solid #eee;
}

.tecelliabi-teslimat-popup-header h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    font-size: 24px;
    color: #171817;
}

.tecelliabi-icon {
    width: 24px;
    height: 24px;
    stroke: #f2002d;
}

.tecelliabi-icon-small {
    width: 16px;
    height: 16px;
    stroke: #f2002d;
}

.tecelliabi-teslimat-popup-close {
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.tecelliabi-teslimat-popup-close:hover {
    background-color: #f5f5f5;
}

.tecelliabi-teslimat-popup-close svg {
    width: 24px;
    height: 24px;
    stroke: #666;
}

.tecelliabi-teslimat-popup-body {
    padding: 30px;
}

.tecelliabi-closed-status {
    text-align: center;
    margin-bottom: 40px;
}

.tecelliabi-closed-message {
    font-size: 28px;
    font-weight: bold;
    color: #f2002d;
    margin-bottom: 20px;
}

.tecelliabi-next-open {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 18px;
    color: #171817;
}

.tecelliabi-next-open strong {
    color: #f2002d;
    margin-left: 5px;
}

.tecelliabi-working-hours {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
}

.tecelliabi-working-hours h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 20px;
    font-size: 20px;
    color: #171817;
}

.tecelliabi-hours-grid {
    display: grid;
    gap: 15px;
}

.tecelliabi-hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background: #fff;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.tecelliabi-hours-row:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.tecelliabi-hours-row.today {
    background: #f2002d0a;
    border: 1px solid #f2002d33;
}

.tecelliabi-day {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: #171817;
}

.tecelliabi-hours {
    font-size: 15px;
}

.tecelliabi-hours .open {
    color: #28a745;
}

.tecelliabi-hours .closed {
    color: #f2002d;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .tecelliabi-teslimat-popup-content {
        width: 95%;
        max-height: 95vh;
    }

    .tecelliabi-teslimat-popup-header {
        padding: 15px 20px;
    }

    .tecelliabi-teslimat-popup-header h2 {
        font-size: 20px;
    }

    .tecelliabi-teslimat-popup-body {
        padding: 20px;
    }

    .tecelliabi-closed-message {
        font-size: 24px;
    }

    .tecelliabi-next-open {
        font-size: 16px;
    }

    .tecelliabi-working-hours {
        padding: 20px;
    }

    .tecelliabi-hours-row {
        padding: 10px 15px;
    }
}

/* Animasyonlar */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -48%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.tecelliabi-teslimat-popup-content {
    animation: slideIn 0.3s ease-out;
}

.tecelliabi-teslimat-option {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tecelliabi-teslimat-option:hover {
    border-color: #ddd;
    background: #f9f9f9;
}

.tecelliabi-teslimat-option.active {
    border-color: #4CAF50;
    background: #E8F5E9;
}

.tecelliabi-teslimat-option-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 8px;
    margin-right: 15px;
}

.tecelliabi-teslimat-option-icon svg {
    width: 24px;
    height: 24px;
    color: #666;
}

.tecelliabi-teslimat-option.active .tecelliabi-teslimat-option-icon {
    background: #4CAF50;
}

.tecelliabi-teslimat-option.active .tecelliabi-teslimat-option-icon svg {
    color: #fff;
}

.tecelliabi-teslimat-option-content {
    flex: 1;
}

.tecelliabi-teslimat-option-title {
    font-weight: 500;
    margin-bottom: 5px;
    color: #333;
}

.tecelliabi-teslimat-option-desc {
    font-size: 13px;
    color: #666;
}

.tecelliabi-teslimat-tab-content {
    display: none;
    margin-top: 20px;
}

.tecelliabi-teslimat-tab-content.active {
    display: block;
}

.tecelliabi-teslimat-postcode {
    margin-top: 15px;
}

.tecelliabi-teslimat-postcode input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-bottom: 10px;
    font-size: 14px;
}

.tecelliabi-button {
    width: 100%;
    padding: 12px;
    background: #4CAF50;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s ease;
}

.tecelliabi-button:hover {
    background: #43A047;
}

.tecelliabi-teslimat-message {
    margin-top: 10px;
    padding: 10px;
    border-radius: 6px;
    font-size: 13px;
}

.tecelliabi-teslimat-message.success {
    background: #E8F5E9;
    color: #2E7D32;
}

.tecelliabi-teslimat-message.error {
    background: #FFEBEE;
    color: #C62828;
}

.tecelliabi-teslimat-store-info {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
}

.tecelliabi-teslimat-store-hours-title {
    font-weight: 500;
    margin-bottom: 15px;
    color: #333;
}

.tecelliabi-teslimat-store-hours-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.tecelliabi-teslimat-store-hours-row:last-child {
    border-bottom: none;
}

.tecelliabi-teslimat-store-hours-row span {
    color: #666;
    font-size: 14px;
}

.tecelliabi-teslimat-popup-footer {
    padding: 15px;
    border-top: 1px solid #eee;
    margin-top: 20px;
}

.tecelliabi-dont-show-again {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #666;
    cursor: pointer;
}

.tecelliabi-dont-show-again input[type="checkbox"] {
    margin-right: 8px;
    cursor: pointer;
}

.tecelliabi-dont-show-again:hover {
    color: #333;
}

.tecelliabi-teslimat-tabs {
    display: flex;
    margin-bottom: 2rem;
    border-bottom: 2px solid #eee;
}

.tecelliabi-teslimat-tab {
    padding: 1rem 2rem;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 500;
    color: #666;
    transition: all 0.3s ease;
}

.tecelliabi-teslimat-tab.active {
    color: #000;
    border-bottom: 2px solid #000;
    margin-bottom: -2px;
}

.tecelliabi-teslimat-store-image {
    margin-bottom: 2rem;
}

.tecelliabi-teslimat-store-image img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.tecelliabi-teslimat-store-hours {
    margin-bottom: 2rem;
}

.tecelliabi-teslimat-store-hours h3 {
    margin-bottom: 1rem;
}

.tecelliabi-teslimat-store-hours table {
    width: 100%;
    border-collapse: collapse;
}

.tecelliabi-teslimat-store-hours td {
    padding: 0.5rem;
    border-bottom: 1px solid #eee;
}

.tecelliabi-teslimat-store-hours td:first-child {
    font-weight: 500;
}

.tecelliabi-teslimat-actions {
    text-align: right;
    margin-top: 2rem;
}

.tecelliabi-teslimat-continue {
    padding: 0.75rem 2rem;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tecelliabi-teslimat-continue:hover {
    background-color: #333;
}

.tecelliabi-delivery-info {
    margin: 1rem 0;
    padding: 1rem;
    background-color: #f5f5f5;
    border-radius: 4px;
}

.tecelliabi-sticky-panel {
    position: fixed;
    left: -300px;
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
    background: #fff;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    border-radius: 0 12px 12px 0;
    z-index: 999;
    transition: left 0.3s ease;
}

.tecelliabi-sticky-panel.active {
    left: 0;
}

.tecelliabi-sticky-panel-toggle {
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 0 8px 8px 0;
    box-shadow: 5px 0 10px rgba(0,0,0,0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tecelliabi-sticky-panel-toggle svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.tecelliabi-sticky-panel.active .tecelliabi-sticky-panel-toggle svg {
    transform: rotate(180deg);
}

.tecelliabi-sticky-panel-content {
    padding: 20px;
}

.tecelliabi-sticky-panel-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.tecelliabi-sticky-panel-option {
    padding: 12px;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tecelliabi-sticky-panel-option:hover {
    border-color: #ddd;
    background: #f9f9f9;
}

.tecelliabi-sticky-panel-option.active {
    border-color: #4CAF50;
    background: #E8F5E9;
}

.tecelliabi-sticky-panel-option-title {
    font-weight: 500;
    margin-bottom: 5px;
    color: #333;
}

.tecelliabi-sticky-panel-option-desc {
    font-size: 13px;
    color: #666;
}

.tecelliabi-sticky-panel-postcode {
    margin-top: 15px;
    display: none;
}

.tecelliabi-sticky-panel-postcode.active {
    display: block;
}

.tecelliabi-sticky-panel-postcode input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-bottom: 10px;
}

.tecelliabi-sticky-panel-postcode button {
    width: 100%;
    padding: 10px;
    background: #f2002d;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.tecelliabi-sticky-panel-postcode button:hover {
    background: #171817;
}

.tecelliabi-sticky-panel-message {
    margin-top: 8px;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s ease;
    display: none;
}

.tecelliabi-sticky-panel-message.success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.tecelliabi-sticky-panel-message.error {
    background-color: #fbe9e7;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

.tecelliabi-sticky-panel-message.checking {
    background-color: #e3f2fd;
    color: #1565c0;
    border: 1px solid #90caf9;
}

/* Checking animasyonu */
.checking-text {
    position: relative;
    padding-left: 24px;
}

.checking-text:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 16px;
    height: 16px;
    margin-top: -8px;
    border: 2px solid #1565c0;
    border-radius: 50%;
    border-right-color: transparent;
    animation: checking-spinner 0.75s linear infinite;
}

@keyframes checking-spinner {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Input stil güncellemeleri */
#tecelliabi-sticky-postcode {
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 14px;
    width: 100%;
    transition: border-color 0.3s ease;
}

#tecelliabi-sticky-postcode:focus {
    border-color: #2196f3;
    outline: none;
}

#tecelliabi-sticky-postcode.error {
    border-color: #c62828;
}

#tecelliabi-sticky-postcode.success {
    border-color: #2e7d32;
}

/* Sticky Panel Mesaj Stilleri */
.tecelliabi-sticky-message {
    margin-top: 10px;
    padding: 8px;
    border-radius: 4px;
    font-size: 14px;
    display: none;
}

.tecelliabi-sticky-message.success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
    display: block;
}

.tecelliabi-sticky-message.error {
    background-color: #fbe9e7;
    color: #c62828;
    border: 1px solid #ffcdd2;
    display: block;
}

.tecelliabi-confirm-postcode-sticky {
    margin-top: 10px;
    padding: 8px 15px;
    background-color: #4caf50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.tecelliabi-confirm-postcode-sticky:hover {
    background-color: #388e3c;
}

.tecelliabi-check-postcode-sticky {
    padding: 8px 15px;
    background-color: #2196f3;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.tecelliabi-check-postcode-sticky:hover {
    background-color: #1976d2;
}

.tecelliabi-check-postcode-sticky.loading {
    position: relative;
    color: transparent !important;
}

.tecelliabi-check-postcode-sticky.loading::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border: 2px solid #fff;
    border-radius: 50%;
    border-right-color: transparent;
    animation: button-loading-spinner 0.75s linear infinite;
}

/* Kapalı Popup Stilleri */
.tecelliabi-closed-info {
    text-align: center;
    padding: 20px;
}

.tecelliabi-closed-icon {
    margin: 0 auto 20px;
    width: 64px;
    height: 64px;
}

.tecelliabi-closed-icon svg {
    width: 100%;
    height: 100%;
    stroke: #f2002d;
}

.tecelliabi-closed-message {
    font-size: 24px;
    font-weight: bold;
    color: #f2002d;
    margin-bottom: 15px;
}

.tecelliabi-working-hours {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.tecelliabi-working-hours-title {
    font-size: 18px;
    font-weight: bold;
    color: #171817;
    margin-bottom: 15px;
    text-align: center;
}

.tecelliabi-working-hours-list {
    max-width: 400px;
    margin: 0 auto;
}

.tecelliabi-working-hours-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
}

.tecelliabi-working-hours-row:last-child {
    border-bottom: none;
}

.tecelliabi-working-hours-row .day {
    font-weight: 500;
    color: #171817;
}

.tecelliabi-working-hours-row .hours {
    color: #666;
}

/* Animasyon */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.tecelliabi-closed-icon {
    animation: pulse 2s infinite;
}

.closed-day-message {
    font-size: 24px;
    font-weight: bold;
    color: #f2002d;
    margin-bottom: 20px;
    text-align: center;
} 