body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f7fa;
    color: #333;
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 2px solid #eee;
    padding-bottom: 20px;
}

h1 {
    color: #2c3e50;
    margin: 0;
}

.field-selection {
    background-color: #e8f4fd;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    border-left: 5px solid #3498db;
}

.field-selection label {
    font-weight: bold;
    font-size: 1.1em;
    margin-right: 10px;
}

.field-selection select {
    padding: 8px;
    font-size: 1em;
    border-radius: 4px;
    border: 1px solid #ccc;
    width: 100%;
    max-width: 400px;
}

.info-text {
    margin-top: 10px;
    color: #666;
    font-style: italic;
}

.category-section {
    margin-bottom: 30px;
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 8px;
}

.category-section h3 {
    margin-top: 0;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.max-score {
    font-size: 0.8em;
    color: #e74c3c;
    background-color: #fdeaea;
    padding: 2px 8px;
    border-radius: 4px;
}

.activity-controls {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    max-width: 100%;
}

.activity-select {
    flex-grow: 1;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    min-width: 0; /* Uzun metinlerin taşmasını engeller */
}

button {
    padding: 8px 15px;
    background-color: #2ecc71;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

button:hover {
    background-color: #27ae60;
}

.activity-list {
    margin-bottom: 15px;
}

.activity-item {
    background-color: #f9f9f9;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 4px;
    border-left: 3px solid #bdc3c7;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
}

.item-name {
    flex-grow: 1;
    font-weight: 500;
    width: 100%;
    margin-bottom: 10px;
}

.item-inputs {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.item-inputs label {
    font-size: 0.9em;
    color: #555;
}

.item-inputs input, .item-inputs select {
    padding: 4px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.item-score {
    font-weight: bold;
    color: #2980b9;
    margin-left: auto;
}

.remove-btn {
    background-color: #e74c3c;
    padding: 5px 10px;
    font-size: 0.8em;
}

.remove-btn:hover {
    background-color: #c0392b;
}

.category-total {
    text-align: right;
    font-weight: bold;
    color: #2c3e50;
    font-size: 1.1em;
    border-top: 1px dashed #ccc;
    padding-top: 10px;
}

.results-section {
    background-color: #2c3e50;
    color: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    margin-top: 40px;
}

.score-display {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 20px;
}

.score-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.score-box .value {
    font-size: 3em;
    font-weight: bold;
    color: #f1c40f;
}

.score-box.secondary .value {
    font-size: 2em;
    color: #bdc3c7;
}

.score-box .label {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9em;
    opacity: 0.8;
}

.action-btn {
    padding: 10px 20px;
    font-size: 1em;
    margin: 0 5px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.save-btn {
    background-color: #3498db;
    color: white;
}

.save-btn:hover {
    background-color: #2980b9;
}

.load-btn {
    background-color: #9b59b6;
    color: white;
}

.load-btn:hover {
    background-color: #8e44ad;
}
