﻿.main-content1{
    background-color: #00336a3d;
}

/* ===============================
   Layout & Containers
=============================== */
.storage-info {
    background: #00336a;
    color: #fff;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.vault-box {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    background-color: #f8f9fa;
}

.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
}

.card-header {
    background-color: #fff;
    border-bottom: 1px solid #e9ecef;
    padding: 1.5rem;
    border-radius: 12px 12px 0 0;
}

.card-body {
    padding: 2rem;
}

.tool-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

/* ===============================
   Upload Area
=============================== */
.upload-area {
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    background-color: #fafbfc;
}

.upload-area:hover,
.upload-area.dragover {
    border-color: #007bff;
    background-color: #f0f7ff;
    transform: translateY(-2px);
}

/* ===============================
   QR Code Area
=============================== */
#qrContainer {
    text-align: center;
    margin-bottom: 1rem;
}

#qrImg {
    display: inline-block;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* ===============================
   Progress Bars
=============================== */
.progress-custom {
    height: 8px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.progress-bar-counter {
    height: 8px;
    background-color: rgba(173, 181, 189, 1);
    border-radius: 4px;
}
/*.progress-custom .progress-bar {
    background-color: #000000;
}*/


/* ===============================
Buttons (Updated for consistency and theme matching)
=============================== */
.file-item .btn-group {
    gap: 0.5rem; /* Adds space between buttons */
}

.file-item .btn-group .btn {
    white-space: nowrap;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-width: 120px;
    height: 36px;
    font-weight: 500;
}

.file-item .btn-group .btn i {
    font-size: 0.9rem;
}

/* Button text spans for responsive hiding */
.btn-text {
    display: inline;
}

/* Download Button - Mooniverse Blue Gradient */
.file-item .btn-group .btn-outline-primary {
    background: linear-gradient(135deg, #004E92 0%, #0077B6 100%);
    border: none;
    color: #fff;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.file-item .btn-group .btn-outline-primary:hover {
    background: linear-gradient(135deg, #005F91 0%, #00B4D8 100%);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 119, 182, 0.35);
}


/* Copy Link Button - Secondary theme shade */
.file-item .btn-group .btn-outline-secondary {
    background-color: #f8f9fa;
    border-color: #dee2e6;
    color: #6c757d;
    margin-top: 0;
}

.file-item .btn-group .btn-outline-secondary:hover {
    background-color: #e9ecef;
    border-color: #adb5bd;
    color: #495057;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    margin-top: 0;
}

/* Delete Button - Refined Danger with Mooniverse Tint */
.file-item .btn-group .btn-outline-danger {
    background: linear-gradient(135deg, #E63946 0%, #D62828 100%);
    border: none;
    color: #fff;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.file-item .btn-group .btn-outline-danger:hover {
    background: linear-gradient(135deg, #C1121F 0%, #9B111E 100%);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(230, 57, 70, 0.35);
}

/* ===============================
Mobile Responsiveness
=============================== */
@media (max-width: 768px) {
    .card-body {
        padding: 1rem;
    }

    .vault-box {
        flex-direction: column;
        gap: 1rem;
    }

    .vault-box .d-flex.gap-2 {
        width: 100%;
        flex-direction: column;
    }

    .vault-box .d-flex.gap-2 button {
        width: 100%;
    }

    .file-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .file-item .btn-group {
        width: 100%;
        justify-content: center;
    }

    .file-item .btn-group .btn {
        min-width: 40px;
        width: auto;
        padding: 0.5rem;
        gap: 0;
    }

    /* Hide button text on mobile, show only icons */
    .file-item .btn-group .btn .btn-text {
        display: none;
    }

    .storage-info .row {
        text-align: center;
    }

    .storage-info .col-md-4 {
        margin-top: 1rem;
    }

    .upload-area {
        padding: 1.5rem 1rem;
    }

    .footer-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-btn {
        width: 100%;
    }

}

@media (max-width: 576px) {
    .card-header h5 {
        font-size: 1rem;
    }

    .card-header small {
        display: block;
        margin-top: 0.25rem;
    }

    .storage-info {
        padding: 1rem;
    }

    .vault-box {
        padding: 1rem;
    }

    .file-item .btn-group {
        gap: 0.25rem;
    }

    .file-item .btn-group .btn {
        min-width: 36px;
        height: 36px;
        padding: 0.375rem;
    }

}