/**
 * Countdown Timer Styles
 *
 * @package DeadLineFNL
 */

.deadlinefnl-countdown {
    --dfnl-unit: 1rem;
    display: flex;
    flex-wrap: wrap !important;
    gap: var(--dfnl-unit);
    align-items: center;
    justify-content: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    padding: var(--dfnl-unit);
    box-sizing: border-box;
}

.deadlinefnl-countdown-segment {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: calc(0.25 * var(--dfnl-unit));
    min-width: calc(4 * var(--dfnl-unit));
}

.deadlinefnl-countdown-number {
    font-size: calc(2 * var(--dfnl-unit));
    font-weight: 700;
    line-height: 1;
    color: var(--dfnl-digits, #2c3e50);
    background: var(--dfnl-box-bg, #ecf0f1);
    padding: calc(0.75 * var(--dfnl-unit)) var(--dfnl-unit);
    border-radius: calc(0.5 * var(--dfnl-unit));
    min-width: calc(3.5 * var(--dfnl-unit));
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--dfnl-border, transparent);
}

.deadlinefnl-countdown-label {
    font-size: calc(0.75 * var(--dfnl-unit));
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--dfnl-labels, #7f8c8d);
}

.deadlinefnl-countdown.deadlinefnl-expired {
    padding: var(--dfnl-unit) calc(2 * var(--dfnl-unit));
    background: var(--dfnl-box-bg, #ecf0f1);
    color: var(--dfnl-digits, #2c3e50);
    border-radius: calc(0.5 * var(--dfnl-unit));
    font-weight: 600;
    text-align: center;
    border: 1px solid var(--dfnl-border, transparent);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

    /* Height Consistency Fix */
    /* Matches approx height of digits + padding to prevent layout shift */
    min-height: calc(5.5 * var(--dfnl-unit));
    display: flex;
    align-items: center;
    justify-content: center;
}

.deadlinefnl-expired-message {
    font-size: var(--dfnl-unit);
    color: var(--dfnl-digits, #2c3e50);
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .deadlinefnl-countdown:not(.deadlinefnl-style-inline1):not(.deadlinefnl-style-inline2) {
        gap: calc(0.5 * var(--dfnl-unit));
        padding: calc(0.5 * var(--dfnl-unit));
    }

    .deadlinefnl-countdown-segment {
        min-width: calc(3 * var(--dfnl-unit));
    }

    .deadlinefnl-countdown-number {
        font-size: calc(1.5 * var(--dfnl-unit));
        padding: calc(0.5 * var(--dfnl-unit)) calc(0.75 * var(--dfnl-unit));
        min-width: calc(2.75 * var(--dfnl-unit));
    }

    .deadlinefnl-countdown-label {
        font-size: calc(0.625 * var(--dfnl-unit));
    }

    /* Specific responsive styles for inline timers to prevent wrapping */
    .deadlinefnl-style-inline1 {
        font-size: 0.85em;
        /* Slightly smaller on mobile to save space */
    }

    .deadlinefnl-style-inline2 {
        font-size: 0.9em;
        /* Slightly smaller on mobile to save space */
    }

    /* Responsive width adjustments for mobile */
    .deadlinefnl-countdown {
        /* Ensure countdowns don't exceed container width on mobile */
        max-width: 100%;
    }
}

/* Color scheme variations (can be customized via theme) */
.deadlinefnl-countdown.deadlinefnl-theme-dark .deadlinefnl-countdown-number {
    background: #34495e;
    color: #ecf0f1;
}

.deadlinefnl-countdown.deadlinefnl-theme-primary .deadlinefnl-countdown-number {
    background: #3498db;
    color: white;
}

.deadlinefnl-countdown.deadlinefnl-theme-success .deadlinefnl-countdown-number {
    background: #2ecc71;
    color: white;
}

.deadlinefnl-countdown.deadlinefnl-theme-warning .deadlinefnl-countdown-number {
    background: #f39c12;
    color: white;
}

.deadlinefnl-countdown.deadlinefnl-theme-danger .deadlinefnl-countdown-number {
    background: #e74c3c;
    color: white;
}

/* --- Style Presets --- */

/* Modern: Rounded boxes, soft shadows */
.deadlinefnl-style-modern .deadlinefnl-countdown-number {
    background: var(--dfnl-box-bg, #ecf0f1);
    color: var(--dfnl-digits, #2c3e50);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Simplistic: No boxes, minimal */
.deadlinefnl-style-simplistic {
    gap: calc(2 * var(--dfnl-unit));
}

.deadlinefnl-style-simplistic .deadlinefnl-countdown-number {
    background: transparent;
    box-shadow: none;
    padding: 0;
    min-width: auto;
    color: var(--dfnl-digits, #0066ad);
    font-size: calc(2.5 * var(--dfnl-unit));
    border: none;
}

.deadlinefnl-style-simplistic .deadlinefnl-countdown-label {
    font-size: calc(0.65 * var(--dfnl-unit));
    color: var(--dfnl-labels, #9ca3af);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 8px;
    opacity: 1;
}



/* Newspaper: Serif, classic borders */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Lora&display=swap');

.deadlinefnl-style-newspaper {
    border-top: calc(0.125 * var(--dfnl-unit)) solid #333;
    border-bottom: calc(0.125 * var(--dfnl-unit)) solid #333;
    padding: calc(1.5 * var(--dfnl-unit)) 0;
}

.deadlinefnl-style-newspaper .deadlinefnl-countdown-number {
    font-family: 'Playfair Display', serif;
    background: var(--dfnl-box-bg, #f4f1ea);
    color: var(--dfnl-digits, #1a1a1a);
    border: calc(0.0625 * var(--dfnl-unit)) solid #333;
    border-radius: 0;
    box-shadow: calc(0.125 * var(--dfnl-unit)) calc(0.125 * var(--dfnl-unit)) 0 #333;
}

.deadlinefnl-style-newspaper .deadlinefnl-countdown-label {
    font-family: 'Lora', serif;
    color: #1a1a1a;
    font-style: italic;
    text-transform: none;
    font-size: calc(0.75 * var(--dfnl-unit));
}





/* Base styles for variables */
.deadlinefnl-countdown {
    --dfnl-bg: initial;
    --dfnl-text: initial;
}

/* Error message for admins */
.deadlinefnl-error {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #fee;
    border: 1px solid #fcc;
    border-radius: 0.25rem;
    color: #c00;
    font-size: 0.875rem;
}

/* Placeholder styling */
.deadlinefnl-placeholder {
    display: inline-block;
    font-style: italic;
    color: #7f8c8d;
}

/* Date display styling */

/* --- Expired State Theme Overrides --- */



/* Newspaper Expired */
.deadlinefnl-style-newspaper.deadlinefnl-expired {
    font-family: 'Playfair Display', serif;
    background: var(--dfnl-box-bg, #f4f1ea);
    color: var(--dfnl-digits, #1a1a1a);
    border: 1px solid #333;
    border-top: 2px solid #333;
    /* Reinforce top/bottom style */
    border-bottom: 2px solid #333;
    box-shadow: 2px 2px 0 #333;
    border-radius: 0;
}





/* Inline 1: Compact inline timer that fits within text */
.deadlinefnl-style-inline1 {
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: calc(0.5 * var(--dfnl-unit));
    padding: calc(0.375 * var(--dfnl-unit)) calc(0.75 * var(--dfnl-unit));
    margin: 0 calc(0.25 * var(--dfnl-unit));
    background-color: var(--dfnl-box-bg, #f8f9fa);
    border: calc(0.0625 * var(--dfnl-unit)) solid var(--dfnl-border, #e9ecef);
    border-radius: calc(0.375 * var(--dfnl-unit));
    font-family: inherit;
    font-size: calc(0.95 * var(--dfnl-unit));
    color: inherit;
    vertical-align: middle;
    white-space: nowrap;
    overflow: hidden;
    min-width: 0;
    /* Allow flex items to shrink below content size if needed */
}

.inline-timer-container {
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: calc(0.5 * var(--dfnl-unit));
    padding: calc(0.375 * var(--dfnl-unit)) calc(0.75 * var(--dfnl-unit));
    margin: 0 calc(0.25 * var(--dfnl-unit));
    background-color: var(--dfnl-box-bg, #f8f9fa);
    border: calc(0.0625 * var(--dfnl-unit)) solid var(--dfnl-border, #e9ecef);
    border-radius: calc(0.375 * var(--dfnl-unit));
    font-family: inherit;
    font-size: calc(0.95 * var(--dfnl-unit));
    color: inherit;
    vertical-align: middle;
    white-space: nowrap;
    overflow: hidden;
    min-width: 0;
    /* Allow flex items to shrink below content size if needed */
}

.inline-timer-message {
    font-weight: 500;
}

/* Inline 1 specific styling for countdown segments */
.deadlinefnl-style-inline1 .deadlinefnl-countdown-number {
    display: inline-flex;
    background: #fff;
    padding: calc(0.25 * var(--dfnl-unit)) calc(0.5 * var(--dfnl-unit));
    border-radius: calc(0.1875 * var(--dfnl-unit));
    box-shadow: inset 0 0 0 calc(0.0625 * var(--dfnl-unit)) rgba(0, 0, 0, 0.1);
    font-family: 'Courier New', Courier, monospace;
    font-weight: 700;
    color: var(--dfnl-digits, #d9534f);
    font-size: 1em;
    min-width: auto;
    margin: 0;
    white-space: nowrap;
}

.deadlinefnl-style-inline1 .deadlinefnl-days {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    white-space: nowrap;
}

.deadlinefnl-style-inline1 .deadlinefnl-clock {
    background: #fff;
    padding: calc(0.25 * var(--dfnl-unit)) calc(0.5 * var(--dfnl-unit));
    border-radius: calc(0.1875 * var(--dfnl-unit));
    box-shadow: inset 0 0 0 calc(0.0625 * var(--dfnl-unit)) rgba(0, 0, 0, 0.1);
    font-family: 'Courier New', Courier, monospace;
    font-weight: 700;
    color: var(--dfnl-digits, #d9534f);
    white-space: nowrap;
}

/* Connector between days and clock */
.deadlinefnl-style-inline1 .deadlinefnl-connector {
    font-weight: 600;
    color: var(--dfnl-digits, #d9534f);
    font-size: 0.9em;
    opacity: 0.8;
    white-space: nowrap;
}

.deadlinefnl-style-inline1.deadlinefnl-expired {
    display: inline;
    padding: 6px 12px;
    background-color: var(--dfnl-box-bg, #f8f9fa);
    border: 1px solid var(--dfnl-border, #e9ecef);
    border-radius: 6px;
    font-size: 0.95em;
    margin: 0 4px;
}

.deadlinefnl-style-inline1.deadlinefnl-expired .inline-timer-message {
    font-weight: 500;
}

/* Inline 2: Minimal Underline Inline Countdown */
.deadlinefnl-style-inline2 {
    display: inline;
    font-weight: 600;
    color: var(--dfnl-digits, #d9534f);
    white-space: nowrap;
    /* Use background-image for a tight underline that fits content */
    background-image: linear-gradient(to right, var(--dfnl-digits, #d9534f), var(--dfnl-digits, #d9534f));
    background-position: 0 100%;
    background-repeat: repeat-x;
    background-size: calc(0.125 * var(--dfnl-unit)) calc(0.125 * var(--dfnl-unit));
    padding-bottom: calc(0.125 * var(--dfnl-unit));
}

.deadlinefnl-style-inline2 .deadlinefnl-countdown-number {
    /* Prevents the text from jumping as numbers change */
    font-variant-numeric: tabular-nums;
    font-family: inherit;
    font-weight: 600;
    color: var(--dfnl-digits, #d9534f);
    /* Remove all box styling for truly inline appearance */
    background: none;
    padding: 0;
    border: none;
    box-shadow: none;
    border-radius: 0;
    min-width: auto;
    display: inline;
    font-size: inherit;
    white-space: nowrap;
}

/* The "and" connector is added via JavaScript for proper translation */

/* Make the clock time value stand out */
.deadlinefnl-style-inline2 .deadlinefnl-clock {
    font-family: 'Courier New', Courier, monospace;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.deadlinefnl-style-inline2.deadlinefnl-expired {
    display: inline !important;
    font-weight: 600;
    color: var(--dfnl-digits, #d9534f);
    white-space: nowrap;
    /* Remove background and underline from parent element */
    /* Background and underline will be applied to the message only */
    background: transparent !important;
    background-image: none;
    padding: 0 !important;
    padding-bottom: 0;
    /* Remove default expired styling */
    border-radius: 0 !important;
    box-shadow: none !important;
    min-height: auto !important;
    width: auto !important;
    min-width: auto !important;
}

.deadlinefnl-style-inline2.deadlinefnl-expired .deadlinefnl-expired-message {
    font-weight: 600;
    color: var(--dfnl-digits, #d9534f);
    /* Apply background and underline to the message only */
    background-image: linear-gradient(to right, var(--dfnl-digits, #d9534f), var(--dfnl-digits, #d9534f));
    background-position: 0 100%;
    background-repeat: repeat-x;
    background-size: calc(0.125 * var(--dfnl-unit)) calc(0.125 * var(--dfnl-unit));
    padding-bottom: calc(0.125 * var(--dfnl-unit));
}

/* --- Width Settings --- */

/* Apply width constraints to all countdown timers */
.deadlinefnl-countdown {
    /* Allow width to be overridden by inline styles */
    max-width: 100%;
}

/* Ensure width is respected for different alignment types */
.deadlinefnl-countdown.deadlinefnl-align-left,
.deadlinefnl-countdown.deadlinefnl-align-center,
.deadlinefnl-countdown.deadlinefnl-align-right {
    /* Explicitly allow the container to be block-level if needed, but width should come from inline style or fit-content below */
    display: flex;
    flex-wrap: wrap;
}

/* --- Alignment Styles --- */

/* Block-level countdown alignment */
.deadlinefnl-countdown.deadlinefnl-align-left {
    justify-content: flex-start;
    width: fit-content;
}

.deadlinefnl-countdown.deadlinefnl-align-center {
    justify-content: center;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.deadlinefnl-countdown.deadlinefnl-align-right {
    justify-content: flex-end;
    width: fit-content;
    margin-left: auto;
}

/* Expired state alignment */
.deadlinefnl-countdown.deadlinefnl-expired.deadlinefnl-align-left {
    margin-right: auto;
}

.deadlinefnl-countdown.deadlinefnl-expired.deadlinefnl-align-center {
    margin-left: auto;
    margin-right: auto;
}

.deadlinefnl-countdown.deadlinefnl-expired.deadlinefnl-align-right {
    margin-left: auto;
}

/* Inline styles alignment - use display block with text-align */
.deadlinefnl-style-inline1.deadlinefnl-align-left,
.deadlinefnl-style-inline2.deadlinefnl-align-left {
    display: block;
    text-align: left;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.deadlinefnl-style-inline1.deadlinefnl-align-center,
.deadlinefnl-style-inline2.deadlinefnl-align-center {
    display: block;
    text-align: center;
    margin: 0.5rem auto;
}

.deadlinefnl-style-inline1.deadlinefnl-align-right,
.deadlinefnl-style-inline2.deadlinefnl-align-right {
    display: block;
    text-align: right;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Inline expired state alignment */
.deadlinefnl-style-inline1.deadlinefnl-expired.deadlinefnl-align-left,
.deadlinefnl-style-inline2.deadlinefnl-expired.deadlinefnl-align-left {
    text-align: left;
    background: transparent !important;
}

.deadlinefnl-style-inline1.deadlinefnl-expired.deadlinefnl-align-center,
.deadlinefnl-style-inline2.deadlinefnl-expired.deadlinefnl-align-center {
    text-align: center;
    /* For inline elements in expired state, keep them inline to not take full width */
    display: inline-block !important;
    background: transparent !important;
    margin: 0.5rem auto;
    width: auto !important;
    min-width: auto !important;
}

.deadlinefnl-style-inline1.deadlinefnl-expired.deadlinefnl-align-right,
.deadlinefnl-style-inline2.deadlinefnl-expired.deadlinefnl-align-right {
    text-align: right;
    display: inline-block !important;
    background: transparent !important;
}

/* Hidden Style: Used for background tracking and actions */
.deadlinefnl-style-hidden {
    display: none !important;
}

/* End date display styling */
.deadlinefnl-end-date {
    width: 100%;
    margin-top: 10px;
    text-align: center;
    font-size: 0.9em;
    color: var(--dfnl-digits, #2c3e50);
    font-weight: 500;
}

.deadlinefnl-end-date .deadlinefnl-end-date-label {
    font-weight: 500;
}

.deadlinefnl-end-date .deadlinefnl-end-date-value {
    font-weight: 600;
}

/* Adjust end date styling for different timer styles */
.deadlinefnl-style-modern .deadlinefnl-end-date {
    color: var(--dfnl-digits, #2c3e50);
}

.deadlinefnl-style-simplistic .deadlinefnl-end-date {
    margin-top: 0;
    padding-top: 1rem;
    border-top: 1px solid #f3f4f6;
    color: #6b7280;
    font-size: 0.85rem;
    width: 100%;
    text-align: center;
}

.deadlinefnl-style-simplistic .deadlinefnl-end-date-label {
    font-weight: 600;
    color: #374151;
    margin-right: 4px;
}

.deadlinefnl-style-simplistic .deadlinefnl-end-date-value {
    color: #0066ad;
    font-weight: 600;
}

.deadlinefnl-style-simplistic .deadlinefnl-style-header {
    font-size: 1.25rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 2rem;
    width: 100%;
    text-align: center;
}

.deadlinefnl-style-newspaper .deadlinefnl-end-date {
    color: #1a1a1a;
    font-family: 'Lora', serif;
    font-style: italic;
    text-align: center;
}

.deadlinefnl-style-glass .deadlinefnl-end-date {
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
}

.deadlinefnl-style-airy .deadlinefnl-end-date {
    color: var(--dfnl-labels, #6366f1);
    font-size: 0.8em;
    text-align: center;
}

.deadlinefnl-style-glow .deadlinefnl-end-date {
    color: var(--dfnl-labels, #64748b);
    text-align: center;
}

.deadlinefnl-style-neumorphic .deadlinefnl-end-date {
    color: var(--dfnl-labels, #94a3b8);
    text-align: center;
}

/* Inline timer end date styling */
.deadlinefnl-style-inline1 .deadlinefnl-end-date,
.deadlinefnl-style-inline2 .deadlinefnl-end-date {
    display: block;
    margin-top: 8px;
    font-size: 0.85em;
    text-align: center;
    color: var(--dfnl-digits, #d9534f);
}

/* --- New Modern Styles --- */

/* Glassmorphism Pro Style */
.deadlinefnl-style-glass {
    position: relative;
    padding: calc(2.5 * var(--dfnl-unit)) !important;
    border-radius: calc(1.5 * var(--dfnl-unit));
    background: var(--dfnl-box-bg, linear-gradient(135deg, #6366f1 0%, #a855f7 100%)) !important;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.deadlinefnl-style-glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    background-image: url('https://www.transparenttextures.com/patterns/carbon-fibre.png');
    pointer-events: none;
}

.deadlinefnl-style-glass .deadlinefnl-countdown-number {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    color: #ffffff;
    font-weight: 800;
    font-size: calc(2.25 * var(--dfnl-unit));
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    min-width: calc(4 * var(--dfnl-unit));
    height: calc(4.5 * var(--dfnl-unit));
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: -0.05em;
    padding: 0;
}

.deadlinefnl-style-glass .deadlinefnl-countdown-label {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: calc(0.6 * var(--dfnl-unit));
    letter-spacing: 0.15em;
    font-weight: 700;
    margin-top: calc(0.5 * var(--dfnl-unit));
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Minimalist Airy Style */
.deadlinefnl-style-airy {
    background: var(--dfnl-box-bg, #ffffff) !important;
    padding: calc(2.5 * var(--dfnl-unit)) !important;
    border-radius: calc(1.5 * var(--dfnl-unit));
    border: 1px solid var(--dfnl-border, #e2e8f0);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    gap: calc(1.5 * var(--dfnl-unit)) !important;
}

.deadlinefnl-style-airy .deadlinefnl-countdown-segment {
    position: relative;
    padding: 0 calc(0.5 * var(--dfnl-unit));
    min-width: auto;
}

.deadlinefnl-style-airy .deadlinefnl-countdown-number {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0;
    font-weight: 300;
    font-size: calc(4 * var(--dfnl-unit));
    color: var(--dfnl-digits, #0f172a);
    min-width: auto;
    font-family: inherit;
}

.deadlinefnl-style-airy .deadlinefnl-countdown-label {
    color: var(--dfnl-labels, #6366f1);
    font-size: calc(0.7 * var(--dfnl-unit));
    font-weight: 700;
    text-transform: lowercase;
}

.deadlinefnl-style-airy .deadlinefnl-countdown-segment:not(:last-child)::after {
    content: ':';
    position: absolute;
    right: calc(-0.85 * var(--dfnl-unit));
    top: 35%;
    transform: translateY(-50%);
    font-size: calc(2.5 * var(--dfnl-unit));
    font-weight: 200;
    color: var(--dfnl-border, #e2e8f0);
}

/* Cyber Glow Style */
.deadlinefnl-style-glow {
    background: var(--dfnl-box-bg, #020617) !important;
    padding: calc(2.5 * var(--dfnl-unit)) !important;
    border-radius: calc(1.5 * var(--dfnl-unit));
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    gap: calc(1.5 * var(--dfnl-unit)) !important;
}

.deadlinefnl-style-glow .deadlinefnl-countdown-segment {
    position: relative;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: calc(0.75 * var(--dfnl-unit)) !important;
    min-width: calc(4 * var(--dfnl-unit));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.deadlinefnl-style-glow .deadlinefnl-countdown-segment::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(to top, #10b981, #06b6d4);
    border-radius: 13px;
    z-index: -1;
    filter: blur(4px);
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.deadlinefnl-style-glow .deadlinefnl-countdown-segment:hover::before {
    opacity: 0.6;
    filter: blur(6px);
}

.deadlinefnl-style-glow .deadlinefnl-countdown-number {
    background: linear-gradient(to bottom, #ffffff, #94a3b8);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #ffffff;
    font-weight: 900;
    font-size: calc(2 * var(--dfnl-unit));
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    min-width: auto;
    margin: 0;
    line-height: 1;
}

.deadlinefnl-style-glow .deadlinefnl-countdown-label {
    color: var(--dfnl-labels, #64748b) !important;
    font-size: calc(0.55 * var(--dfnl-unit));
    font-weight: 800;
    margin-top: calc(0.4 * var(--dfnl-unit)) !important;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}


/* Soft Neumorphic Style */
.deadlinefnl-style-neumorphic {
    background: var(--dfnl-box-bg, #E0E5EC) !important;
    padding: calc(3 * var(--dfnl-unit)) !important;
    border-radius: calc(2 * var(--dfnl-unit));
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.1), -20px -20px 60px rgba(255, 255, 255, 0.8);
    gap: calc(1.5 * var(--dfnl-unit)) !important;
}

.deadlinefnl-style-neumorphic .deadlinefnl-countdown-number {
    background: var(--dfnl-box-bg, #E0E5EC) !important;
    width: calc(4.5 * var(--dfnl-unit));
    height: calc(4.5 * var(--dfnl-unit));
    border-radius: 50%;
    border: none !important;
    box-shadow: inset 6px 6px 12px rgba(0, 0, 0, 0.1), inset -6px -6px 12px rgba(255, 255, 255, 0.8) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dfnl-digits, #475569) !important;
    font-weight: 700;
    font-size: calc(1.75 * var(--dfnl-unit));
    padding: 0 !important;
    min-width: auto;
}

.deadlinefnl-style-neumorphic .deadlinefnl-countdown-label {
    color: var(--dfnl-labels, #94a3b8) !important;
    font-size: calc(0.7 * var(--dfnl-unit));
    font-style: italic;
    font-weight: 500;
    text-transform: capitalize;
    margin-top: calc(0.75 * var(--dfnl-unit));
}