@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700&family=Rajdhani:wght@400;500;600;700&display=swap');

:root {
    --bg-dark: #f8fcfc;
    --bg-panel: #ffffff;
    --border-color: #326AFB;
    --border-focus: #1a56db;
    --text-primary: #1e40af;
    --text-muted: #4b5563;
    --shadow-color: rgba(50, 106, 251, 0.25);
    --button-bg: #f0f7ff;
    --button-border: #dbeafe;
}

.wc-avoid-numbers-message.wc-fixedbox-avoid-message {
    margin: 20px auto 10px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background: #ffffff;
    border: 2px solid rgba(50, 106, 251, 0.25);
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(50, 106, 251, 0.2);
    position: relative;
    overflow: hidden;
    font-size: 14px !important;
    font-weight: 500;
    width: 50%;
    text-align: center;
    font-family: auto;
    color: #374151 !important;
}

.wc-avoid-numbers-message.wc-custom-avoid-message {
    margin: 20px auto 10px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background: #ffffff;
    border: 2px solid rgba(50, 106, 251, 0.25);
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(50, 106, 251, 0.2);
    position: relative;
    overflow: hidden;
    font-size: 14px !important;
    font-weight: 500;
    width: 50%;
    text-align: center;
    font-family: auto;
    color: #374151 !important;
}

@media (max-width: 768px) {
    .wc-avoid-numbers-message.wc-fixedbox-avoid-message {
        width: 90%;
        font-size: 16px !important;
        padding: 10px 5px;
        margin-bottom: 15px;
    }
    .wc-avoid-numbers-message.wc-custom-avoid-message {
        width: 90%;
        font-size: 16px !important;
        padding: 10px 5px;
        margin-bottom: 15px;
    }
}

.wc-fixedbox-price-field {
    display: block;
    text-align: left;
}

.wc-fixedbox-input-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0px auto;
    border: 2px solid var(--border-focus);
    border-radius: 10px;
    background: rgba(248, 252, 252, 0.9);
    box-shadow: 0 0 12px rgba(26, 86, 219, 0.3), 
                inset 0 0 8px rgba(26, 86, 219, 0.15);
    position: relative;
    overflow: hidden;
    width: 220px;
    height: 52px;
}

.wc-fixedbox-input-container::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 59%;
    transform: translate(-50%, -50%);
    width: 1px;
    height: 60%;
    background: linear-gradient(to bottom, transparent, rgba(26, 86, 219, 0.2), transparent);
}

.wc-fixedbox-input-container > * {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

input#wc_fixedbox_whole_number {
    width: 100px !important;
    padding: 14px 0px !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    text-align: center !important;
    color: var(--text-primary) !important;
    transition: all 0.3s ease;
    -moz-appearance: textfield;
    appearance: textfield;
}

button.wc-price-tier-button.wc-fixedbox-option {
    background: linear-gradient(145deg, #e0f2fe, #dbeafe) !important;
    color: #1e40af;
    border: 2px solid #326AFB !important;
}

button.wc-price-tier-button.wc-fixedbox-option:hover,
button.wc-price-tier-button.wc-fixedbox-option.active {
    background: linear-gradient(145deg, #326AFB, #1a56db) !important;
    color: #ffffff !important;
    border-color: var(--border-focus) !important;
}

input#wc_fixedbox_whole_number::-webkit-outer-spin-button,
input#wc_fixedbox_whole_number::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.wc-fixedbox-decimal-separator {
    padding: 14px 2px !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: var(--text-primary) !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wc-fixedbox-decimal-part {
    width: 60px !important;
    padding: 14px 0px !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: var(--text-primary) !important;
    text-align: center !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wc-fixedbox-input-container:focus-within {
    border-color: var(--border-color) !important;
    box-shadow: 0 0 22px rgba(50, 106, 251, 0.5), 
                inset 0 0 12px rgba(50, 106, 251, 0.2) !important;
    transform: translateY(-3px);
}

.wc-fixedbox-input-container:hover {
    border-color: var(--border-color);
    box-shadow: 0 0 18px rgba(50, 106, 251, 0.4), 
                inset 0 0 10px rgba(50, 106, 251, 0.18);
}

input#wc_fixedbox_whole_number:focus,
.wc-fixedbox-decimal-part:focus {
    outline: none;
}

@media (max-width: 768px) {
    .wc-fixedbox-input-container {
        width: 180px !important;
        height: 55px;
        padding: 12px 16px !important;
        margin-top: 25px;
        margin-bottom: 25px;
    }
    
    input#wc_fixedbox_whole_number {
        width: 80px !important;
        font-size: 18px !important;
        padding: 12px 0px !important;
    }
    
    .wc-fixedbox-decimal-part {
        width: 50px !important;
        font-size: 18px !important;
        padding: 12px 0px !important;
    }
    
    .wc-fixedbox-decimal-separator {
        font-size: 18px !important;
        padding: 12px 2px !important;
    }
}

.wc-fixedbox-price-field .wc-field-label {
    text-align: left;
}

p.wc-price-note {
    font-family: Orbitron;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 0;
    margin-top: 0;
    text-align: left !important;
    color: #1e40af;
}

.wc-custom-price-container {
    width: 100%;
    margin: 25px 0;
    padding: 20px;
    box-sizing: border-box;
    font-family: 'Orbitron', 'Rajdhani', sans-serif;
    position: relative;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(50, 106, 251, 0.15);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.wc-fields-row {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.wc-left-column,
.wc-right-column {
    flex: 1;
    min-width: 280px;
}

@media (max-width: 768px) {
    .wc-left-column,
    .wc-right-column {
        flex: 100%;
        min-width: auto;
    }
}

.wc-input-field {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    background: rgba(248, 252, 252, 0.9);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    box-sizing: border-box;
    transition: all 0.25s ease;
    font-family: 'Rajdhani', sans-serif;
    box-shadow: 0 0 8px var(--shadow-color), inset 0 0 6px rgba(50, 106, 251, 0.1);
}

.wc-input-field:focus {
    border-color: var(--border-focus);
    background: rgba(248, 252, 252, 1);
    box-shadow: 0 0 15px rgba(26, 86, 219, 0.3), inset 0 0 10px rgba(26, 86, 219, 0.15);
    outline: none;
    transform: translateY(-2px);
}

.wc-input-field::placeholder {
    color: var(--text-muted);
    opacity: 0.8;
    font-weight: 500;
}

input#wc_custom_price {
    width: 220px !important;
    margin: 0 auto;
    display: block;
    padding: 14px 20px !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    text-align: center !important;
    border-radius: 10px !important;
    border: 2px solid var(--border-focus) !important;
    background: rgba(248, 252, 252, 0.9) !important;
    color: var(--text-primary) !important;
    box-shadow: 0 0 12px rgba(26, 86, 219, 0.3), inset 0 0 8px rgba(26, 86, 219, 0.15);
    transition: all 0.3s ease;
}

input#wc_custom_price:focus {
    border-color: var(--border-color) !important;
    box-shadow: 0 0 22px rgba(50, 106, 251, 0.5), inset 0 0 12px rgba(50, 106, 251, 0.2) !important;
    transform: translateY(-3px);
}

.wc-field-label {
    display: block;
    margin-bottom: 14px;
    font-weight: 700;
    font-size: 17px;
    color: #4b5563;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Orbitron', sans-serif;
    position: relative;
    padding-left: 14px;
}

.wc-field-label::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--border-focus);
    font-size: 14px;
}

.wc-fixed-price-tiers {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin: 16px 0;
}

.wc-price-tier-button {
    padding: 10px 18px;
    min-width: 80px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    border: 1.5px solid #326AFB;
    background: linear-gradient(145deg, #e0f2fe, #dbeafe);
    color: #1e40af;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    font-family: 'Rajdhani', sans-serif;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.wc-price-tier-button:hover {
    background: linear-gradient(145deg, #dbeafe, #bfdbfe);
    color: #1a56db;
    border-color: #1a56db;
    box-shadow: 0 0 15px rgba(50, 106, 251, 0.2);
    transform: translateY(-2px);
}

.wc-price-tier-button.active {
    background: linear-gradient(145deg, #326AFB, #1a56db);
    color: #ffffff;
    border-color: var(--border-focus);
    box-shadow: 0 0 20px rgba(26, 86, 219, 0.3);
    transform: translateY(-2px);
    font-weight: 700;
}

.wc-custom-price-option {
    background: linear-gradient(145deg, #e0f2fe, #dbeafe) !important;
    color: #1e40af;
    border: 2px solid #326AFB !important;
}

.wc-custom-price-option:hover,
.wc-custom-price-option.active {
    background: linear-gradient(145deg, #326AFB, #1a56db) !important;
    color: #ffffff !important;
    border-color: var(--border-focus) !important;
}

.wc-price-range {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 16px;
    flex-wrap: wrap;
}

.wc-min-price,
.wc-max-price {
    font-size: 14px;
    color: var(--text-muted);
    padding: 6px 12px;
    background: rgba(248, 252, 252, 0.8);
    border-radius: 6px;
    border: 1px solid var(--border-color);
    box-shadow: 0 0 8px rgba(50, 106, 251, 0.15);
    font-style: italic;
}

.wc-coin-conversion-container {
    margin-top: 24px;
    padding: 10px 20px;
    background: #ffffff;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(50, 106, 251, 0.15);
    position: relative;
    overflow: hidden;
}

.wc-coin-display {
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    color: #374151;
}

.wc-coin-display span {
    font-weight: 800;
    font-size: 20px;
    color: var(--border-focus);
    background: linear-gradient(145deg, #326AFB, #1a56db);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wc-input-error {
    border-color: #dc2626 !important;
    box-shadow: 0 0 12px rgba(220, 38, 38, 0.3) !important;
}

.wc-input-error:focus {
    border-color: #dc2626 !important;
    box-shadow: 0 0 16px rgba(220, 38, 38, 0.4) !important;
}

.wc-custom-price-container ~ p.price {
    display: none !important;
}

@media (max-width: 768px) {
    .wc-custom-price-container {
        padding: 16px;
        margin: 20px 0;
        background: #ffffff;
    }
    
    .wc-fields-row {
        flex-direction: column;
        gap: 20px;
    }
    
    .wc-left-column,
    .wc-right-column {
        width: 100%;
        min-width: auto;
    }
    
    input#wc_custom_price {
        width: 180px !important;
        font-size: 18px !important;
        padding: 12px 16px !important;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    
    .wc-price-tier-button {
        padding: 8px 14px;
        min-width: 80px;
        font-size: 16px;
    }
    
    .wc-field-label {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .wc-coin-conversion-container {
        padding: 16px;
        margin-top: 20px;
        background: #ffffff;
    }
    
    .wc-coin-display {
        font-size: 16px;
    }
    
    .wc-coin-display span {
        font-size: 22px;
    }
    
    .wc-min-price, 
    .wc-max-price {
        font-size: 13px;
        padding: 5px 10px;
    }
    
    .wc-fixed-price-tiers {
        gap: 10px;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .wc-fields-row {
        gap: 20px;
    }
    
    .wc-price-tier-button {
        padding: 10px 16px;
        min-width: 75px;
        font-size: 14px;
    }
    
    input#wc_custom_price {
        width: 200px !important;
    }
}

.wc-price-tier-button,
.wc-input-field,
.wc-coin-conversion-container {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.wc-price-tier-button:focus,
.wc-input-field:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
}