/* Dashboard Page Styles */
.page-header {
    margin-bottom: 2rem;
}

.page-title {
    font-size: 1.75rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.upload-section {
    background: white;
    border-radius: 15px;
    padding: 44px 24px;
    text-align: center;
    transition: all 0.3s ease;
    border: 8px solid #00000014;
    width: 550px;
    margin: 0 auto;
}

.upload-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.browse-files-btn {
    background: #0d6efd;
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 4px;
    font-weight: 500;
    margin-top: 1rem;
    transition: all 0.3s;
}



/* Main content styles */
.content-section {
    padding: 2rem 0;
}

.upload-section {
    margin-top: 64px;
}

.upload-area {
    background: white;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s;
}

.upload-area.drag-over {
    border-color: var(--primary-color);
    background: #f8f9fa;
}

.browse-files-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    transition: all 0.3s;
    font-size: 14px;
    font-weight: 600;
}

.browse-files-btn:hover {
    background: #b8152f;
}

/* Files panel styles */
.files-panel {
    background: white;
    border-left: 1px solid #dee2e6;
    height: calc(100vh - 74px);
    position: fixed;
    right: 0;
    top: 0;
    width: 300px;
    display: none;
    flex-direction: column;
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
    margin-top: 74px;
    border: 1px solid #0000001A;
    border-radius: 16px 0px 0px 16px;

}
.panel-header h5 {
    font-size: 18px;
    font-weight: 600;
}
.panel-header {
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.panel-subheader {
    padding: 10px 18px;
    font-size: 0.875rem;
    color: var(--header-bg);
    font-size: 14px;
    font-weight: 600;
}

.files-list {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.file-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px;
        border-radius: 6px;
        margin-bottom: 0.5rem;
        transition: all 0.2s;
        background: #F4F4F4
}

.file-item:hover {
    background: #f8f9fa;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.file-details {
    display: flex;
    flex-direction: column;
}

.file-name {
    font-size: 14px;
    color: var(--header-bg);
    font-weight: 600;
    width: 154px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-size {
    font-size: 10px;
    color: var(--para-text);
}

.panel-footer {
    padding: 1rem;
    /* border-top: 1px solid #dee2e6; */
}

.btn-primary {
    background: var(--primary-color);
    border: none;
    padding: 0.75rem;
    border-radius: 8px;
}

.browse-files-btn:disabled {
    background: #6c757d;
    opacity: 0.65;
}

.btn-primary:not(:disabled):hover {
    background: #b8152f;
}

/* Add smooth transition for main content */
.col-md-12, .col-md-9 {
    transition: all 0.3s ease-in-out;
} 

.content-section {
    height: calc(100vh - 74px);
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: center;
}
.close {
    background: transparent;
    border: 0;
}