body {
    font-family: 'Arial', sans-serif;
    background-image: url('black.jpeg');  /* Adding the black background image */
    background-repeat: no-repeat;
    background-size: cover;
    margin: 0;
    padding: 0;
    color: #ffffff;
}

.container {
    max-width: 800px;
    margin: 50px auto;  /* Adding the white background image */
    background-repeat: no-repeat;
    background-size: cover;
    padding: 30px 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    animation: slideUp 0.5s forwards;
}


.login-container {
    max-width: 500px;
    margin: 50px auto;
    padding: 10px 20px;  /* Adjusted padding */
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    animation: slideUp 0.5s forwards;
}

.input-group {
    margin-bottom: 15px;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

button {
    padding: 10px 20px;
    background-color: #262627;
    border: none;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

header {
    border-bottom: 1px solid #e1e1e1;
    padding-bottom: 10px;
    margin-bottom: 20px;
    text-align: center;
}

.control-button {
    display: block;
    width: 200px;
    margin: 0 auto 20px;
    background-color: #262627;
    border: none;
    padding: 10px 15px;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 5px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
}

.control-button:hover {
    background-color: #b32400;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    transform: scale(1.05);
}

.control-button:active {
    transform: translateY(2px) scale(1);
}

.player {
    margin-top: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

audio[controls] {
    width: 100%;
}

#recordingsList {
    animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}
.spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px; /* This provides some spacing between the button and the spinner. */
    padding: 20px; /* This is the padding value you can adjust as per your requirements. */
 /* If you want the padding area to have a specific background, this will color it. */
    border-radius: 8px; 
    z-index: 1000; /* To ensure it appears above all other content */
}

.loader {
    border-top: 5px solid #007BFF;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
}
.loading-text {
    font-family: Arial, sans-serif;
    font-size: 16px;
    color: #ff4500;
    text-align: center;
    animation: fire-animation 1.5s infinite;
}

@keyframes fire-animation {
    0% {
        text-shadow: 0 0 5px red, 0 0 10px red, 0 0 20px red, 0 0 30px orange, 0 0 40px orange;
    }
    50% {
        text-shadow: 0 0 5px orange, 0 0 10px orange, 0 0 20px orange, 0 0 30px red, 0 0 40px red;
    }
    100% {
        text-shadow: 0 0 5px red, 0 0 10px red, 0 0 20px red, 0 0 30px orange, 0 0 40px orange;
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    50% { transform: rotate(180deg) scale(1.2); } /* Added a scale effect for a more dynamic animation */
    100% { transform: rotate(360deg); }
}

.fire-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto;
}

.fire {
    background-color: #ff4500;
    height: 50%;
    width: 20%;
    position: absolute;
    bottom: 0;
    border-radius: 50px 50px 0 0;
    animation: fire-animation 1.5s infinite;
}

.fire:nth-child(1) {
    transform: rotate(0deg) translate(0, -50%);
    animation-delay: 0.1s;
}

.fire:nth-child(2) {
    transform: rotate(45deg) translate(0, -50%);
    animation-delay: 0.2s;
}

.fire:nth-child(3) {
    transform: rotate(90deg) translate(0, -50%);
    animation-delay: 0.3s;
}

.fire:nth-child(4) {
    transform: rotate(135deg) translate(0, -50%);
    animation-delay: 0.4s;
}

.fire:nth-child(5) {
    transform: rotate(180deg) translate(0, -50%);
    animation-delay: 0.5s;
}

.fire:nth-child(6) {
    transform: rotate(225deg) translate(0, -50%);
    animation-delay: 0.6s;
}

.fire:nth-child(7) {
    transform: rotate(270deg) translate(0, -50%);
    animation-delay: 0.7s;
}

.fire:nth-child(8) {
    transform: rotate(315deg) translate(0, -50%);
    animation-delay: 0.8s;
}

@keyframes fire-animation {
    0%, 100% {
        height: 20%;
        background-color: #ff4500;
    }
    25% {
        height: 50%;
        background-color: #ff0000;
    }
    50% {
        height: 80%;
        background-color: #dc143c;
    }
    75% {
        height: 50%;
        background-color: #ff0000;
    }
}