/*

file upload drag and drop

*/
#sidebar {
    width: 20%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#menu {
    width: 100%;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    padding: 10px;
}

#upload-container {
    display: none;
    width: 100%;
    justify-content: center;
    align-items: center;
}

#upload-container form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

#fileInput {
    flex-grow: 1;
    max-width: 70%;
}

button {
    max-width: 25%;
}

#Recentfiles {
    width: 100%;
    max-height: 500px;
    overflow-y: auto;
}
.breadcrumb {
    padding: 8px 15px;
    background: #f8f9fa;
    border-radius: 5px;
}

.featured-posts {
    text-align: center;
    width: 100%;
}

.featured-item img {
    max-width: 100%;
    border-radius: 10px;
}

.row {
    justify-content: center;
}

input[type="file"] {
    opacity: 100% !important;
    z-index: 2 !important;
}


#dragdropzoneo {
    border: 1px solid #ccc;
    background-color: #F1F7FE;
    text-align: center;
    padding: 25px !important;
    cursor: pointer;
    position: relative;
    border-radius: 5%;
    width: 100%;
    margin: auto;
    /* Set initial height */
    min-height: 200px; /* Adjust as needed */
}

#dragdropzoneo .dropzone-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%; /* Ensure the dropzone-inner takes full height */
}

#dragdropzoneo i {
    font-size: 48px;
    color: #888;
}

#dragdropzoneo p {
    font-size: 16px;
    margin-top: 10px;
    color: #888;
}

#dragdropzoneo.active {
    border-color: #3498db;
    background-color: #ecf0f1;
}



#dragdropzone {
    border: 1px solid #ccc;
    background-color: #F1F7FE;
    text-align: center;
    padding: 25px !important;
    cursor: pointer;
    position: relative;
    border-radius: 5%;
    width: 100%;
    margin: auto;
    height: 500px;
}

#dragdropzone .dropzone-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#dragdropzone i {
    font-size: 48px;
    color: #888;
}

#dragdropzone p {
    font-size: 16px;
    margin-top: 10px;
    color: #888;
}

#dragdropzone.active {
    border-color: #3498db;
    background-color: #ecf0f1;
}



/* Hide scrollbar for WebKit browsers */
#Recentfiles::-webkit-scrollbar {
    display: none;
}

/* ============================ */
/* General form styling */
#file-form {
    max-width: 500px;
    margin: auto;
    padding: 20px;
    border-radius: 10px;
    background-color: #2c2f36;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

/* Upload container */
#linkonly {
    text-align: center;
    padding: 20px;
    border: 2px dashed #42A5F5;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    transition: background 0.3s ease-in-out;
}

#linkonly:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Upload button */
#linkonly2 {
    display: inline-block;
    padding: 15px;
    border-radius: 50%;
    background-color: #434954;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
}

#linkonly2:hover {
    transform: scale(1.1);
}

/* Input file hidden */
#fileInput {
    opacity: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    cursor: pointer;
}

/* Title text */
.title {
    font-size: 18px;
    color: #ffffff;
    font-weight: bold;
    margin-top: 10px;
}

/* File name display */
#fileNameDisplay {
    font-size: 14px;
    color: #bbb;
    margin-top: 5px;
}

/* Link styling */
.link {
    display: inline-block;
    margin-top: 10px;
    font-size: 14px;
    color: #42A5F5;
    cursor: pointer;
    transition: color 0.3s;
}

.link:hover {
    color: #1e88e5;
}

/* Progress bar container */
.progress-container {
    width: 100%;
    background: #444;
    border-radius: 5px;
    margin-top: 15px;
    padding: 5px;
    text-align: center;
}

.progress-bar {
    width: 0%;
    height: 10px;
    background: #42A5F5;
    border-radius: 5px;
    transition: width 0.5s ease-in-out;
}

.progress-text {
    font-size: 14px;
    margin-top: 5px;
}

/* Uploaded size and time */
.uploaded-size,
.upload-time {
    font-size: 12px;
    color: #bbb;
    margin-top: 5px;
}

/* Submit button */
#getLinkButton {
    background: #ffa726;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    padding: 12px;
    width: 100%;
    transition: background 0.3s ease-in-out;
}

#getLinkButton:hover {
    background: #ff9800;
}
/* Hide the default file input */
/* #fileInput {
    opacity: 0;
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: -1;
} */

/* .input_type_file {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
    pointer-events: none;
} */
/* Hide file input but keep it functional */
/* #fileInput {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    z-index: -1;
} */
