#audio-recording-form, #audio-recording-form #submission-list {
    font-family: Arial, sans-serif;
    max-width: 600px;
    margin: auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
#audio-recording-form .form-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 15px;
}
#audio-recording-form .form-row label {
    flex: 1;
    display: flex;
    flex-direction: column;
    font-weight: bold;
    text-align: left;
}
#audio-recording-form input[type="text"], #audio-recording-form input[type="email"], #audio-recording-form input[type="date"], #audio-recording-form textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
}
#audio-recording-form button {
    background-color: #0073aa;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-transform: capitalize;
}
#audio-recording-form button:hover {
    background-color: #005f8a;
}
#audio-recording-form .audio-section {
    margin-bottom: 20px;
}
#audio-recording-form .audio-controls {
    display: none;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}
#audio-recording-form .audio-controls audio {
    flex: 1;
    max-width: calc(100% - 60px);
}
#audio-recording-form .delete-btn {
    background-color: #d9534f;
    padding: 8px 12px;
    vertical-align: top;
    margin-top: 10px;
}
#audio-recording-form .delete-btn:hover {
    background-color: #c9302c;
}
#audio-recording-form .approve-btn, #audio-recording-form .submit-approval {
    margin-top: 10px;
}
.page-id-243 .style-KFTMhA6WOVh-outer, .page-id-252 .style-KFTMhA6WOVh-outer {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
}
.page-id-243 .style-1mldZ8ltp8-outer, .page-id-252 .style-AgJXfeV3fH-outer{
    padding: 10px 0 !important;
}

#popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

/* Popup styling */
#review-popup, #entry-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 450px;
    background: white;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    z-index: 1000;
}

#popup-content {
    display: flex;
    flex-direction: column;
}

#popup-content h3{
    margin-top: 0px;
    margin-bottom: 20px;
}

/* Form fields in one row */
.form-group {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.form-group label {
    width: 30%;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 70%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

.form-group textarea {
    resize: vertical;
    height: 60px;
}

/* Radio buttons in one row */
.radio-group {
    display: flex;
    justify-content: space-evenly;
    margin: 10px 0;
}

/* Button styling */
.button-group {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
}

.button-group button {
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.button-group button:first-child {
    background: #28a745;
    color: white;
}

.button-group button:last-child {
    background: #dc3545;
    color: white;
}

.button-group button:hover {
    opacity: 0.8;
}

/* Style the tab container */
.tab-container {
    overflow-x: auto;
    white-space: nowrap;
    border-bottom: 2px solid #ddd;
    display: flex;
    scrollbar-width: none; /* Hide scrollbar on Firefox */
}

/* Hide scrollbar for WebKit browsers */
.tab-container::-webkit-scrollbar {
    display: none;
}

/* Style the tab buttons */
.tab {
    display: flex;
    gap: 10px;
    padding: 10px;
}

.tab button {
    background-color: inherit;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 10px 20px;
    font-size: 16px;
    transition: 0.3s;
    flex-shrink: 0; /* Prevent buttons from shrinking */
}

/* Change background color of buttons on hover */
.tab button:hover {
    background-color: #ddd;
}

/* Active tab */
.tab button.active {
    border-bottom: 3px solid #007bff;
    font-weight: bold;
}

/* Style tab content */
.tabcontent {
    display: none;
    padding: 15px;
    border-top: none;
}

.tabcontent.active {
    display: block;
}

@media (max-width: 600px) {
    #audio-recording-form .form-row {
        flex-direction: column;
    }
    #audio-recording-form button {
        width: 100%;
    }
    .tab-container {
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
    }

    .tab button {
        font-size: 14px;
        padding: 8px 15px;
    }
}