/* Global Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    overflow: hidden; /* Prevent scrolling in the background */
}

/* Container Styles */
.box {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0px 0px 25px rgb(80 209 18 / 50%);
    width: 300px;
    position: relative; /* For positioning the loading bar */
    animation: fadeIn 1s ease; /* Fade-in animation */
    margin-bottom: 20px; /* Add spacing between boxes */
    height: 350px;
    border: 1px solid #ccc;
    margin-top: 5px;
    border-radius: 4px;
}


/* Logo Styles */
.logo {
    max-width: 150px; /* Slightly larger logo size */
    display: block;
    margin: 0 auto 10px; /* Center the logo and add spacing below */
}

/* Title Styles */
.title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

/* Sub-title for FreePBX Styles */
.sub-title {
    font-size: 14px; /* Adjust the font size as needed */
    color: #888; /* Adjust the color as needed */
}

/* Drop Area Styles */
.drop-area {
    padding: 20px;
    border: 2px dashed #007BFF;
    border-radius: 10px;
    cursor: pointer;
    transition: border 0.3s ease; /* Add border animation on hover */
    position: relative; /* Added position for the audio icon */
}

.drop-area:hover {
    border: 2px dashed #0056b3; /* Change border color on hover */
}

/* Upload Button Styles */
.upload-button {
    display: inherit;
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.upload-button:hover {
    background-color: #45a049; /* Darker green on hover */
}
button {
    display: inline-block;
    padding: 10px 10px;
    background-color: #007bff; /* Green color for download button */
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin: 10px;
}

input {
    padding: 8px;
    width:50%;
    border-radius:4px;
  
}



.download-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #4CAF50; /* Green color for download button */
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin: 30px;
}

.download-button:hover {
    background-color: #45a049; /* Darker green on hover */
}


.upload-button.download:hover {
    background-color: #45a049; /* Darker green on hover */
}

/* Loading Bar Styles */
.loading-bar {
    display: none; /* Initially hidden */
    height: 20px;
    background: linear-gradient(90deg, #007BFF, #ccc, #007BFF); /* Gradient background */
    background-size: 200% 100%; /* Double the background width */
    border-radius: 10px;
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    animation: loading-animation 2s linear infinite; /* Apply the animation */
}

.progress {
    height: 100%;
    width: 0;
    background-color: #007BFF;
    border-radius: 10px;
    animation-duration: 2s; /* Set animation duration */
    animation-timing-function: linear;
}

/* Footer Styles */
.footer {
    background-color: #007BFF;
    color: white;
    text-align: center;
    padding: 10px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1; /* Ensure it's above other content */
}

/* Loading Bar Animation */
@keyframes loading-animation {
    0% {
        background-position: 100% 0;
    }
    100% {
        background-position: -100% 0;
    }
}

/* Audio Icon Styles */
.audio-icon {
	display: none;
    top: 50%;
    left: 50%;
    transform: translate(0%, 8%);
    max-width: 50px;
    max-height: 50px;
}
