/* Modern ve işlevsel CSS */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

header {
    background-color: #007bff; /* Mavi */
    color: white;
    padding: 1em;
    width: 100%;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

main {
    background-color: white;
    padding: 2em;
    margin: 2em;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 600px;
}

h2 {
    color: #333;
    font-weight: 500;
}

button {
    background-color: #007bff; /* Mavi */
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 10px 0;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

button:hover:not(:disabled) {
    background-color: #0069d9; /* Daha koyu mavi */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

button:active {
    transform: scale(0.98);
}

audio {
    display: block;
    margin: 10px 0;
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #007bff; /* Mavi */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

section {
    margin: 20px 0;
}

#uploadStatus {
    margin-top: 10px;
    font-size: 14px;
    color: green;
}

#feedbackSection {
    margin-top: 20px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    color: #333;
}

#loadingText {
    text-align: center;
    margin-top: 10px;
    color: #555;
}

.option-section {
    margin-bottom: 2em;
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    main {
        width: 90%;
        padding: 1em;
    }

    button {
        width: 100%;
        padding: 12px;
    }
}
