/* Body Shape Calculator Styles */
.body-shape-calculator-wrapper {
    max-width: 1100px;
    margin: 30px auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

.body-shape-container {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.calculator-header {
    background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
    padding: 60px 40px;
    text-align: center;
    position: relative;
}

.header-icon {
    font-size: 80px;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

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

.calculator-title {
    font-size: 48px;
    font-weight: 900;
    color: white;
    margin: 0 0 15px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.calculator-subtitle {
    font-size: 20px;
    color: rgba(255,255,255,0.95);
    margin: 0;
    font-weight: 500;
}

.calculator-form-section {
    padding: 50px 40px;
    background: linear-gradient(to bottom, #faf5ff 0%, #ffffff 100%);
}

.unit-selector {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
    padding: 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.unit-option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 12px 24px;
    border-radius: 10px;
    transition: all 0.3s;
}

.unit-option:hover {
    background: #f3f4f6;
}

.unit-option input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.unit-label {
    font-size: 16px;
    font-weight: 600;
    color: #374151;
}

.measurements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.measurement-card {
    background: white;
    padding: 25px;
    border-radius: 16px;
    border: 2px solid #e5e7eb;
    transition: all 0.3s;
}

.measurement-card:hover {
    border-color: #ec4899;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(236, 72, 153, 0.15);
}

.measurement-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.measurement-card label {
    display: block;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
    font-size: 16px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.measurement-card input {
    width: 100%;
    padding: 14px 50px 14px 16px;
    border: 2px solid #d1d5db;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
}

.measurement-card input:focus {
    outline: none;
    border-color: #ec4899;
    box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.1);
}

.unit-display {
    position: absolute;
    right: 16px;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
}

.measurement-tip {
    display: block;
    font-size: 13px;
    color: #6b7280;
    font-style: italic;
}

.calculate-button {
    width: 100%;
    padding: 20px;
    background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
    color: white;
    border: none;
    border-radius: 14px;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 6px 20px rgba(236, 72, 153, 0.3);
}

.calculate-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(236, 72, 153, 0.4);
}

.btn-icon {
    font-size: 28px;
    transition: transform 0.3s;
}

.calculate-button:hover .btn-icon {
    transform: translateX(5px);
}

.results-section {
    padding: 50px 40px;
}

.shape-result-card {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    padding: 50px;
    border-radius: 20px;
    margin-bottom: 35px;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    align-items: center;
    color: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.shape-visual {
    font-size: 150px;
    text-align: center;
    line-height: 1;
}

.shape-badge {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, #ec4899 0%, #f472b6 100%);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.shape-name {
    font-size: 42px;
    font-weight: 900;
    margin: 0 0 15px 0;
    color: #fbbf24;
}

.shape-description {
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.95;
    margin: 0;
}

.section-title {
    font-size: 26px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 25px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.measurements-summary {
    background: #f9fafb;
    padding: 35px;
    border-radius: 16px;
    margin-bottom: 35px;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.summary-item {
    background: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid #e5e7eb;
}

.summary-label {
    font-size: 14px;
    color: #6b7280;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.summary-value {
    font-size: 28px;
    font-weight: 800;
    color: #8b5cf6;
}

.ratios-section {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 35px;
    border-radius: 16px;
    margin-bottom: 35px;
    border: 2px solid #fbbf24;
}

.ratios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.ratio-item {
    background: white;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ratio-label {
    font-weight: 600;
    color: #92400e;
}

.ratio-value {
    font-weight: 800;
    font-size: 18px;
    color: #b45309;
}

.characteristics-section {
    margin-bottom: 35px;
}

.characteristics-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.characteristic-item {
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
    padding: 18px 22px;
    border-radius: 12px;
    border-left: 4px solid #8b5cf6;
    font-size: 16px;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 12px;
}

.characteristic-item::before {
    content: '•';
    font-size: 24px;
    color: #8b5cf6;
    font-weight: 900;
}

.style-tips-section {
    margin-bottom: 35px;
}

.style-tips-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.tip-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    border: 2px solid #e5e7eb;
}

.tip-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.tip-card h4 {
    font-size: 22px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 20px 0;
}

.tip-card ul {
    margin: 0;
    padding-left: 20px;
    list-style: none;
}

.tip-card li {
    padding: 10px 0;
    border-bottom: 1px solid #e5e7eb;
    color: #374151;
    font-size: 15px;
    line-height: 1.6;
    position: relative;
    padding-left: 25px;
}

.tip-card li:last-child {
    border-bottom: none;
}

.tip-card li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #8b5cf6;
    font-weight: 900;
}

.celebrities-section {
    background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%);
    padding: 35px;
    border-radius: 16px;
    margin-bottom: 35px;
}

.celebrities-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.celebrity-tag {
    background: white;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 600;
    color: #831843;
    font-size: 15px;
    box-shadow: 0 2px 8px rgba(131, 24, 67, 0.1);
}

.action-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.secondary-btn {
    padding: 16px;
    background: #f3f4f6;
    color: #1f2937;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.secondary-btn:hover {
    background: #e5e7eb;
    border-color: #d1d5db;
    transform: translateY(-2px);
}

.measure-guide {
    background: #f0fdf4;
    padding: 35px;
    border-radius: 16px;
    margin-top: 40px;
    border: 2px solid #86efac;
}

.guide-title {
    font-size: 24px;
    font-weight: 700;
    color: #166534;
    margin: 0 0 25px 0;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.guide-item {
    background: white;
    padding: 18px;
    border-radius: 10px;
    font-size: 15px;
    color: #374151;
    line-height: 1.6;
}

.guide-item strong {
    color: #166534;
}

/* Responsive */
@media (max-width: 768px) {
    .calculator-title {
        font-size: 36px;
    }
    
    .calculator-form-section,
    .results-section {
        padding: 30px 25px;
    }
    
    .measurements-grid {
        grid-template-columns: 1fr;
    }
    
    .shape-result-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .style-tips-grid {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .body-shape-calculator-wrapper {
        padding: 10px;
    }
    
    .calculator-header {
        padding: 40px 25px;
    }
    
    .header-icon {
        font-size: 60px;
    }
}

@media print {
    .calculator-form-section,
    .action-buttons,
    .measure-guide {
        display: none;
    }
}