body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /*background-color: #dcddde; */
    background-image: url('3F2A6121_edit.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    margin: 0;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    box-sizing: border-box;
}

.app-container {
    background-color: #ffffff !important;
    max-width: 600px;
    width: 100%;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    box-sizing: border-box;
}

h2 { 
    text-align: center; 
    color: #4D4D4D; 
    margin-top: 0; 
    margin-bottom: 5px; 
    text-shadow: 0px 1px 1px rgba(0,0,0,0.1); 
}

.subtitle { 
    text-align: center; 
    color: #666; 
    margin-bottom: 30px; 
    font-size: 14px; 
}

.section {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #eaeaea;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

/* Desktop Drag and Drop Styling */
.drop-zone {
    display: none; 
    border: 2px dashed #4D4D4D;
    border-radius: 8px;
    padding: 25px 10px;
    text-align: center;
    color: #555;
    background-color: #fafafa;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 15px;
}

.drop-zone.drag-over {
    background-color: #e9ecef;
    border-color: #dbe120;
    color: #000;
}

.drop-zone.disabled {
    border-color: #ccc;
    color: #adb5bd;
    background-color: #f1f3f5;
    cursor: not-allowed;
}

.btn-group {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 15px;
}

button {
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

#uploadTriggerBtn { background-color: #4D4D4D; color: white; }
#recordBtn { background-color: #dbe120; color: #4D4D4D; } 
#convertBtn { background-color: #dbe120; color: #4D4D4D; width: 100%; margin-top: 10px; }
#downloadBtn { background-color: #dbe120; color: #4D4D4D; width: 100%; margin-top: 10px; }
#deleteBtn { background-color: #ffc107; color: #212529; }

button:disabled, select:disabled {
    background-color: #e9ecef !important;
    color: #adb5bd !important;
    cursor: not-allowed;
    transform: none !important;
}

button:hover:not(:disabled) { 
    transform: translateY(-1px); 
    filter: brightness(0.9); 
}

.mic-select-container {
    margin-top: 15px;
    text-align: center;
    display: none; 
}

.mic-select-container label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    margin-bottom: 5px;
}

#micSelect {
    width: 80%;
    max-width: 350px;
    padding: 8px 12px;
    font-size: 14px;
    border-radius: 6px;
    border: 1px solid #ccc;
    background-color: #fff;
    outline: none;
}

.player-container {
    margin-top: 15px;
    text-align: left;
}

.player-container label { 
    display: block; 
    font-weight: bold; 
    margin-bottom: 5px; 
    font-size: 14px;
}

audio { 
    width: 100%; 
    margin-bottom: 10px; 
}

input[type="file"] { 
    display: none; 
}