/* Bra Size Calculator Styles */

.bra-size-calculator-wrapper {
    width: 100%;
    max-width: 800px;
    margin: 30px auto;
    direction: rtl;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}



.bra-calculator-container {
    background: white !important;
}

.calculator-image {
    display: flex;
    justify-content: center;
}


.bra-calculator-container {
    background: #ffffff;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: grid;
    grid-template-columns: 120px 1fr 1fr 1fr;
    gap: 30px;
    align-items: center;
}

/* 1. Bra Image - First Column */
.calculator-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.calculator-image img {
    width: 100%;
    max-width: 100px;
    height: auto;
    display: block;
}

/* 2 & 3. Input Sections - Second and Third Columns */
.calculator-input {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.calculator-input label {
    font-size: 16px;
    font-weight: 400;
    color: #c8a882;
    text-align: center;
    letter-spacing: 0.5px;
}

.calculator-field {
    background: transparent;
    border: none;
    border-bottom: 2px solid #333;
    padding: 10px 5px;
    font-size: 18px;
    color: #333;
    text-align: center;
    outline: none;
    transition: border-color 0.3s ease;
    width: 100%;
}

.calculator-field:focus {
    border-bottom-color: #c8a882;
}

.calculator-field::placeholder {
    color: #999;
}

/* 4. Result Section - Fourth Column */
.calculator-result {
    text-align: center;
}

.result-title {
    font-size: 16px;
    font-weight: 400;
    color: #c8a882;
    margin: 0 0 15px 0;
    letter-spacing: 0.5px;
}

.result-display {
    background: transparent;
    border: none;
    border-bottom: 2px solid #333;
    font-size: 28px;
    font-weight: 700;
    color: #333;
    text-align: center;
    padding: 10px 5px;
    min-width: 80px;
    letter-spacing: 2px;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .bra-calculator-container {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 30px 20px;
    }
    
    .calculator-image {
        order: 1;
    }
    
    .calculator-input:nth-of-type(1) {
        order: 2;
    }
    
    .calculator-input:nth-of-type(2) {
        order: 3;
    }
    
    .calculator-result {
        order: 4;
    }
    
    .calculator-image img {
        max-width: 120px;
    }
}

@media screen and (max-width: 480px) {
    .bra-calculator-container {
        padding: 25px 15px;
    }
    
    .result-title,
    .calculator-input label {
        font-size: 14px;
    }
    
    .result-display {
        font-size: 24px;
    }
    
    .calculator-field {
        font-size: 16px;
    }
    
    .calculator-image img {
        max-width: 100px;
    }
}
