image.png/**
 * LGDC Diamond Price Estimator - Frontend Styles
 * Glassmorphism design with gold accents
 */

/* CSS Variables */
:root {
    --lgdc-gold: #d4af37;
    --lgdc-gold-light: #e8c547;
    --lgdc-gold-dark: #b8960c;
    --lgdc-dark: #1a1a1a;
    --lgdc-dark-light: #2d2d2d;
    --lgdc-white: #ffffff;
    --lgdc-gray: #888888;
    --lgdc-gray-light: #cccccc;
    --lgdc-border: rgba(255, 255, 255, 0.2);
    --lgdc-shadow: rgba(0, 0, 0, 0.3);
}

/* Wrapper */
.lgdc-estimator-wrapper {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Main Container - Glassmorphism */
.lgdc-estimator-container {
    background: rgba(30, 30, 30, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--lgdc-border);
    border-radius: 20px;
    padding: 35px 30px;
    box-shadow: 
        0 8px 32px 0 rgba(0, 0, 0, 0.37),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Header */
.lgdc-estimator-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--lgdc-border);
}

.lgdc-estimator-title {
    color: var(--lgdc-white);
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 10px 0;
    line-height: 1.3;
    font-family: 'Playfair Display', Georgia, serif;
}

.lgdc-diamond-icon {
    color: var(--lgdc-white);
    font-size: 28px;
    margin-right: 5px;
}

.lgdc-estimator-subtitle {
    color: var(--lgdc-gray-light);
    font-size: 13px;
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Form Groups */
.lgdc-form-group {
    margin-bottom: 20px;
}

.lgdc-form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.lgdc-form-group-half {
    flex: 1;
    margin-bottom: 0;
}

/* Labels */
.lgdc-label {
    display: block;
    color: var(--lgdc-white);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.lgdc-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.lgdc-carat-value {
    color: var(--lgdc-gold);
    font-size: 14px;
    font-weight: 700;
}

/* Select Wrapper */
.lgdc-select-wrapper {
    position: relative;
}

.lgdc-estimator-container .lgdc-select {
    width: 100%;
    padding: 14px 40px 14px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--lgdc-white);
    background-color: rgba(0, 0, 0, 0.2) !important;
    border: 1px solid var(--lgdc-border);
    border-radius: 10px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: all 0.3s ease;
}

.lgdc-estimator-container .lgdc-select:hover {
    background-color: rgba(0, 0, 0, 0.3) !important;
    border-color: rgba(212, 175, 55, 0.5);
}

.lgdc-estimator-container .lgdc-select:focus {
    outline: none;
    border-color: var(--lgdc-gold);
    background-color: rgba(0, 0, 0, 0.4) !important;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.lgdc-select option {
    background: var(--lgdc-dark);
    color: var(--lgdc-white);
    padding: 10px;
}

.lgdc-select-arrow {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--lgdc-gold);
    font-size: 10px;
    pointer-events: none;
}

/* Slider */
.lgdc-slider-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lgdc-slider-min,
.lgdc-slider-max {
    color: var(--lgdc-gray);
    font-size: 11px;
    font-weight: 500;
    min-width: 25px;
}

.lgdc-slider {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
    outline: none;
    cursor: pointer;
}

.lgdc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    background: var(--lgdc-gold);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.4);
    transition: all 0.2s ease;
    border: 3px solid var(--lgdc-white);
}

.lgdc-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.6);
}

.lgdc-slider::-moz-range-thumb {
    width: 22px;
    height: 22px;
    background: var(--lgdc-gold);
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid var(--lgdc-white);
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.4);
}

/* Section Divider */
.lgdc-section-divider {
    display: flex;
    align-items: center;
    margin: 25px 0 20px;
    color: var(--lgdc-gray);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.lgdc-section-divider::before,
.lgdc-section-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--lgdc-border);
}

.lgdc-section-divider span {
    padding: 0 15px;
}

/* Price Display */
.lgdc-price-display {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    margin: 25px 0;
    backdrop-filter: blur(10px);
}

.lgdc-price-label {
    color: var(--lgdc-gray-light);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.lgdc-price-value {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.lgdc-currency {
    color: var(--lgdc-gold);
    font-size: 20px;
    font-weight: 600;
}

.lgdc-price-min,
.lgdc-price-max {
    color: var(--lgdc-gold);
    font-size: 32px;
    font-weight: 700;
    font-family: 'Playfair Display', Georgia, serif;
    min-width: 100px;
}

.lgdc-price-separator {
    color: var(--lgdc-gold);
    font-size: 24px;
    font-weight: 300;
    margin: 0 5px;
}

/* Action Buttons */
.lgdc-action-buttons {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.lgdc-btn {
    flex: 1;
    padding: 16px 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.4;
}

.lgdc-btn-outline {
    background: transparent;
    color: var(--lgdc-white);
    border: 1px solid var(--lgdc-border);
}

.lgdc-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--lgdc-gold);
    color: var(--lgdc-gold);
    text-decoration: none;
}

.lgdc-btn-primary {
    background: var(--lgdc-gold);
    color: var(--lgdc-dark);
    border: 1px solid var(--lgdc-gold);
}

.lgdc-btn-primary:hover {
    background: var(--lgdc-gold-light);
    border-color: var(--lgdc-gold-light);
    color: var(--lgdc-dark);
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

/* Number Animation */
@keyframes lgdc-number-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.lgdc-price-updating {
    animation: lgdc-number-pulse 0.3s ease;
}

/* Responsive */
@media (max-width: 480px) {
    .lgdc-estimator-container {
        padding: 25px 20px;
        border-radius: 15px;
    }
    
    .lgdc-estimator-title {
        font-size: 20px;
    }
    
    .lgdc-form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .lgdc-form-group-half {
        width: 100%;
    }
    
    .lgdc-price-min,
    .lgdc-price-max {
        font-size: 24px;
        min-width: 80px;
    }
    
    .lgdc-action-buttons {
        flex-direction: column;
    }
    
    .lgdc-btn {
        width: 100%;
    }
}

/* Loading State */
.lgdc-loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Focus States for Accessibility */
.lgdc-select:focus-visible,
.lgdc-slider:focus-visible,
.lgdc-btn:focus-visible {
    outline: 2px solid var(--lgdc-gold);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .lgdc-estimator-container {
        background: #fff;
        border: 1px solid #ccc;
        box-shadow: none;
    }
    
    .lgdc-btn {
        display: none;
    }
}

