body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f8f9fa;
    color: #212529;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
}

.container {
    background-color: #ffffff;
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 650px;
    border-top: 5px solid #007bff;
}

h1 {
    text-align: center;
    color: #343a40;
    margin-bottom: 10px;
}

.description {
    text-align: center;
    color: #6c757d;
    font-size: 16px;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #495057;
    font-size: 16px;
}

select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    box-sizing: border-box;
    background-color: #fff;
    font-size: 15px;
    transition: border-color 0.3s, box-shadow 0.3s;
    -webkit-appearance: none; /* Estetik ok için */
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007bff%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.4-12.8z%22/%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: right 15px top 50%;
    background-size: 10px auto;
}

select:focus {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

button {
    width: 100%;
    padding: 14px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #0056b3;
}

#result {
    margin-top: 30px;
    padding: 20px;
    border-radius: 6px;
    background-color: #e9ecef;
    border-left: 5px solid #17a2b8;
}

#result.hidden {
    display: none;
}

#result h2 {
    margin-top: 0;
    color: #343a40;
}

#total-score, #interpretation {
    font-weight: bold;
    font-size: 1.1em;
}

#interpretation {
    color: #0056b3;
}

/* Referans Butonu Stili */
.button-container {
    text-align: center;
    margin-top: 20px;
}

#show-references-btn {
    background-color: transparent;
    color: #007bff;
    border: 2px solid #007bff;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#show-references-btn:hover {
    background-color: #007bff;
    color: #ffffff;
}

/* Modal Stilleri */
.modal {
    display: none; /* Başlangıçta gizli */
    position: fixed; /* Sayfada sabit kalır */
    z-index: 1000; /* Her şeyin önünde görünür */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* İçerik sığmazsa kaydırma çubuğu çıkar */
    background-color: rgba(0, 0, 0, 0.6); /* Yarı saydam siyah arka plan */
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto; /* Dikeyde ve yatayda ortalama */
    padding: 25px 35px;
    border: 1px solid #888;
    width: 80%;
    max-width: 700px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.25); /* İstenen zarif gölge */
    position: relative;
    animation: fadeIn 0.4s;
}

/* Modal için açılış animasyonu */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.close-btn {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 28px;
    font-weight: bold;
}

.close-btn:hover,
.close-btn:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Modal içeriği için ek stiller */
.modal-content h3 {
    margin-top: 0;
    color: #0056b3;
}

.modal-content ul {
    list-style: none;
    padding: 0;
}

.modal-content ul li {
    margin-bottom: 15px;
    padding-left: 20px;
    border-left: 3px solid #007bff;
    background-color: #f8f9fa;
    padding: 10px 15px 10px 20px;
    border-radius: 5px;
}

.modal-content ul li p {
    margin: 5px 0 0 0;
}