/* ============================================
   Odliczanie do Wakacji - Plugin Styles
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&family=Baloo+2:wght@700;800&display=swap');

:root {
    --odw-primary: #FF6B35;
    --odw-secondary: #FFC845;
    --odw-accent: #0EA5E9;
    --odw-ocean: #0284C7;
    --odw-sand: #FEF3C7;
    --odw-white: #FFFFFF;
    --odw-dark: #1E293B;
    --odw-shadow: 0 20px 60px rgba(255, 107, 53, 0.25);
    --odw-radius: 24px;
}

/* ---- Wrapper ---- */
.odw-wrapper {
    font-family: 'Nunito', sans-serif;
    max-width: 700px;
    margin: 40px auto;
    padding: 0 16px;
}

/* ---- Main Container ---- */
.odw-container {
    background: linear-gradient(145deg, #fff8f0 0%, #fff 50%, #f0f9ff 100%);
    border-radius: var(--odw-radius);
    padding: 40px 36px;
    box-shadow: var(--odw-shadow), 0 4px 20px rgba(0,0,0,0.06);
    border: 2px solid rgba(255, 107, 53, 0.12);
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* ---- Background decorative circles ---- */
.odw-container::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,200,69,0.18) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.odw-container::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -60px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(14,165,233,0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* ---- Top Decoration ---- */
.odw-deco-top {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 28px;
    animation: odwFloat 3s ease-in-out infinite;
}

@keyframes odwFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
}

.odw-sun {
    animation: odwFloat 3s ease-in-out infinite;
    display: inline-block;
}
.odw-wave {
    animation: odwFloat 3s ease-in-out 0.5s infinite;
    display: inline-block;
}
.odw-palm {
    animation: odwFloat 3s ease-in-out 1s infinite;
    display: inline-block;
}

/* ---- Heading H2 ---- */
.odw-heading {
    font-family: 'Baloo 2', cursive !important;
    font-size: clamp(26px, 5vw, 38px) !important;
    font-weight: 800 !important;
    color: var(--odw-primary) !important;
    margin: 0 0 8px 0 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.5px !important;
    text-shadow: 0 2px 8px rgba(255, 107, 53, 0.15) !important;
}

/* ---- Subheading ---- */
.odw-subheading {
    font-size: 15px;
    color: #64748b;
    margin: 0 0 32px 0;
    font-weight: 600;
}

/* ---- Countdown Blocks ---- */
.odw-blocks {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.odw-block {
    background: linear-gradient(145deg, var(--odw-primary), #FF8C42);
    border-radius: 20px;
    padding: 20px 16px 14px;
    min-width: 100px;
    position: relative;
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.3), inset 0 1px 0 rgba(255,255,255,0.2);
    transition: transform 0.2s ease;
}

.odw-block:hover {
    transform: translateY(-3px);
}

.odw-block::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    height: 1px;
    background: rgba(255,255,255,0.25);
    border-radius: 2px;
}

.odw-number {
    font-family: 'Baloo 2', cursive;
    font-size: clamp(36px, 6vw, 52px);
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1;
    letter-spacing: -1px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: transform 0.15s ease;
}

.odw-number.odw-tick {
    transform: scale(1.08);
}

.odw-label {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 6px;
}

/* Separator colon */
.odw-separator {
    font-family: 'Baloo 2', cursive;
    font-size: 38px;
    font-weight: 800;
    color: var(--odw-primary);
    opacity: 0.4;
    margin-bottom: 20px;
    line-height: 1;
    animation: odwBlink 1s ease-in-out infinite;
}

@keyframes odwBlink {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.9; }
}

/* ---- Progress Bar ---- */
.odw-progress-section {
    margin: 0 0 28px 0;
}

.odw-progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    margin-bottom: 8px;
}

.odw-progress-bar-bg {
    background: #E2E8F0;
    border-radius: 50px;
    height: 22px;
    position: relative;
    overflow: hidden;
}

.odw-progress-bar-fill {
    height: 100%;
    border-radius: 50px;
    background: linear-gradient(90deg, var(--odw-accent), var(--odw-ocean));
    transition: width 1.5s cubic-bezier(0.25, 1, 0.5, 1);
    width: 0%;
    position: relative;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.4);
}

.odw-progress-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: odwShimmer 2s infinite;
}

@keyframes odwShimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.odw-progress-beach {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    transition: left 1.5s cubic-bezier(0.25, 1, 0.5, 1);
    line-height: 1;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
}

.odw-progress-ends {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #94A3B8;
    font-weight: 600;
    margin-top: 6px;
}

/* ---- Date Info ---- */
.odw-date-info {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--odw-sand);
    border: 1.5px solid rgba(245, 130, 10, 0.2);
    border-radius: 50px;
    padding: 10px 20px;
    font-size: 14px;
    color: #78350F;
    font-weight: 600;
    margin-bottom: 28px;
}

/* ---- Action Buttons ---- */
.odw-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.odw-btn {
    font-family: 'Nunito', sans-serif;
    font-size: 14px;
    font-weight: 700;
    padding: 11px 22px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.3px;
}

.odw-btn:hover {
    transform: translateY(-2px);
}

.odw-btn:active {
    transform: translateY(0);
}

.odw-btn-share {
    background: linear-gradient(135deg, var(--odw-secondary), #FFA500);
    color: #78350F;
    box-shadow: 0 4px 16px rgba(255, 200, 69, 0.4);
}

.odw-btn-share:hover {
    box-shadow: 0 8px 24px rgba(255, 200, 69, 0.5);
}

.odw-btn-print {
    background: #F1F5F9;
    color: #475569;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1.5px solid #E2E8F0;
}

.odw-btn-print:hover {
    background: #E8EDF4;
}

/* ---- Vacation Message ---- */
.odw-vacation-msg {
    text-align: center;
    padding: 20px;
    animation: odwPop 0.6s ease;
}

@keyframes odwPop {
    0% { transform: scale(0.8); opacity: 0; }
    70% { transform: scale(1.05); }
    100% { transform: scale(1); opacity: 1; }
}

.odw-vacation-emoji {
    font-size: 48px;
    margin-bottom: 12px;
}

.odw-vacation-msg h3 {
    font-family: 'Baloo 2', cursive;
    font-size: 28px;
    color: var(--odw-primary);
    margin: 0 0 8px 0;
}

.odw-vacation-msg p {
    color: #64748B;
    font-size: 16px;
    font-weight: 600;
}

/* ---- Responsive ---- */
@media (max-width: 520px) {
    .odw-container {
        padding: 28px 20px;
    }

    .odw-block {
        min-width: 72px;
        padding: 16px 10px 12px;
    }

    .odw-number {
        font-size: 32px;
    }

    .odw-separator {
        font-size: 28px;
    }

    .odw-blocks {
        gap: 4px;
    }
}

/* ---- Print Styles ---- */
@media print {
    .odw-actions { display: none; }
    .odw-wrapper { box-shadow: none; }
    .odw-container { border: 2px solid #FF6B35; }
}
