/* General Styles */
body, html {
    background-color: #1a4a4b !important;
    min-height: 100vh;
    margin: 0;
    color: #ffffff;
}

/* Navbar */
.navbar {
    background-color: #0d3536 !important;
}

.navbar-brand span {
    font-size: 1.5em;
    margin-left: 10px;
}

/* Navbar Button Highlight Color */
.navbar .btn-outline-light {
    border-color: #4d8a8b;
    color: #ffffff;
}

.navbar .btn-outline-light:hover,
.navbar .btn-outline-light:focus {
    background-color: #4d8a8b;
    border-color: #4d8a8b;
    color: #ffffff;
}

/* Modify other button states if needed */
.navbar .btn-outline-light.active {
    background-color: #3a6a6b;
    border-color: #3a6a6b;
    color: #ffffff;
}

/* Sidebar */
.sidebar, .card {
    background-color: #2f6e6f !important;
    color: #ffffff !important;
    border: 1px solid #4d8a8b;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.sidebar .btn, .card .btn {
    background-color: #4d8a8b;
    border-color: #4d8a8b;
    color: #ffffff;
    margin-bottom: 10px;
}

.sidebar .btn:hover, .card .btn:hover {
    background-color: #3a6a6b;
    border-color: #3a6a6b;
}

/* Drop Area */
#drop-area {
    border: 2px dashed #4d8a8b;
    border-radius: 20px;
    width: 100%;
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
}

#drop-area.highlight {
    border-color: #6aacad;
}

/* Buttons */
.btn {
    margin: 5px;
    padding: 8px 16px;
    text-decoration: none;
    color: white;
    border-radius: 4px;
    display: inline-block;
}

.btn-primary {
    background-color: #4d8a8b;
    border-color: #4d8a8b;
}

.btn-secondary {
    background-color: #3a6a6b;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: #3a6a6b;
    border-color: #3a6a6b;
}

.btn img {
    width: 16px !important;
    height: 16px !important;
    object-fit: contain;
}

/* Card */
.card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    position: relative;
}

.card-title, .card-text {
    color: #ffffff;
}

.card-title {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.card-title .file-name {
    margin-right: 10px;
}

.card-title .rename-btn {
    align-self: center;
}

.card-footer {
    background-color: rgba(0,0,0,0.1) !important;
    padding: 1rem;
    margin-top: auto;
    display: flex;
    justify-content: center;
}

/* Form Controls */
.form-control, .form-select {
    background-color: #2f6e6f !important;
    color: #ffffff !important;
    border: 1px solid #4d8a8b;
}

.form-control:focus, .form-select:focus {
    border-color: #6aacad;
    box-shadow: 0 0 0 0.25rem rgba(106, 172, 173, 0.25);
}

/* Alerts */
.alert-success {
    color: #d4edda;
    background-color: #1e4620;
    border-color: #2a6230;
}

.alert-danger {
    color: #f8d7da;
    background-color: #5c1f22;
    border-color: #781f24;
}

/* Tabs */
.nav-tabs .nav-link {
    color: #ffffff;
    background-color: #2f6e6f;
    border: 1px solid #4d8a8b;
}

.nav-tabs .nav-link.active {
    color: #ffffff;
    background-color: #4d8a8b;
    border-color: #4d8a8b;
}

/* Table Styles */
.table {
    color: #ffffff;
    background-color: #2f6e6f;
}

.table th, .table td {
    border-color: #4d8a8b;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.05);
}

/* Make all text white */
body, .card, .card-title, .card-text, .table, .form-control, .form-select, .btn, .nav-link {
    color: #ffffff !important;
}

/* Responsive Styles */
@media (min-width: 992px) {
    .row-cols-lg-4 > * {
        flex: 0 0 auto;
        width: 25%;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .row-cols-md-2 > * {
        flex: 0 0 auto;
        width: 50%;
    }
}

.small-icon {
    width: 16px;
    height: 16px;
}

/* Specific Styles for the Card Elements */
.card-body .info-btn {
    position: absolute;
    top: 10px;
    right: 10px;
}

.card-title .rename-btn {
    align-self: center;
}

.card-footer {
    display: flex;
    justify-content: center;
}

.card-footer .btn {
    margin-left: 5px;
    margin-right: 5px;
}

.btn img {
    width: 16px !important;    
    height: 16px !important;    
    object-fit: contain;
} 
