body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #fff5f5;
    color: #333;
    overflow-x: hidden;
}

.container {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

canvas#breastsCanvas {
    width: 100%;
    height: 100vh;
    display: block;
    background-color: transparent;
}

/* Controls Styling */
.controls {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    max-width: 300px;
    z-index: 100;
}

.control-group {
    margin-bottom: 10px;
}

.control-group:last-child {
    margin-bottom: 0;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #e83e8c;
    font-weight: bold;
}

input[type="range"] {
    width: 100%;
    height: 10px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: #f8d7da;
    border-radius: 5px;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: #e83e8c;
    border-radius: 50%;
    cursor: pointer;
}

select {
    width: 100%;
    padding: 5px;
    border: 1px solid #f8d7da;
    border-radius: 5px;
    background-color: #fff;
    color: #333;
}

h1 {
    color: #e83e8c;
    text-align: center;
    margin-bottom: 20px;
}

h2 {
    color: #e83e8c;
    margin-top: 30px;
    margin-bottom: 15px;
}

p {
    line-height: 1.6;
}

ul {
    padding-left: 20px;
}

li {
    margin-bottom: 10px;
}

.disclaimer {
    margin-top: 30px;
    font-style: italic;
    color: #721c24;
    text-align: center;
}

/* Responsive design */
@media (max-width: 768px) {
    .controls {
        bottom: 10px;
        left: 10px;
        right: 10px;
        max-width: none;
        padding: 10px;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 8px;
    }
    
    .control-group {
        flex: 1 0 45%;
        min-width: 120px;
        margin-bottom: 5px;
    }
    
    /* Make touch targets larger */
    input[type="range"] {
        height: 20px;
    }
    
    input[type="range"]::-webkit-slider-thumb {
        width: 24px;
        height: 24px;
    }
    
    select {
        padding: 8px;
        font-size: 16px; /* Prevent iOS zoom on focus */
    }
    
    .info-button {
        width: 50px;
        height: 50px;
        font-size: 30px;
    }
    
    .info-content {
        margin: 20px auto;
        padding: 20px;
        width: 90%;
    }
}

@media (max-height: 600px) {
    .controls {
        max-height: 200px;
        overflow-y: auto;
    }
}
