body {
    font-family: sans-serif;
    margin: 0;
    padding: 40px 10px;
    display: flex;
    justify-content: left;
    align-items: flex-start;
    min-height: 100vh;
}

#sizeForm, #resultContainer {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    max-width: 400px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

#resultContainer { display: none; }

#sizeForm label {
    display: block;
    text-align: left;
    margin-top: 10px;
    color: #008080;
    font-weight: bold;
}

#sizeForm input[type="number"],
#sizeForm select,
#sizeForm input[type="text"] {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

button {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 10px;
    margin-top: 15px;
    width: 100%;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    background: #45a049;
}

h2 {
    color: #333;
    margin-bottom: 10px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

th, td {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: center;
}

th {
    background: #008080;
    color: white;
}

#bodyTypeOptions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.body-type-option {
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: border 0.3s, box-shadow 0.3s;
    text-align: center;
    background: #f9f9f9;
    padding: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.body-type-option img {
    width: 80%;
    max-width: 80px;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 0 auto; /* EKLENDİ: Ortalamak için */

}

.body-type-option input[type="radio"] {
    display: none;
}

.body-type-option span {
    display: block;
    margin-top: 5px;
    font-weight: bold;
    color: #333;
    text-align: center;
    width: 100%;
}

.body-type-option.selected {
    border: 2px solid #4CAF50;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
}