/* Main CSS for Colony Box */

:root {
    --gold-accent: #D4AF37;
    --dark-bg: #121212;
    --light-text: #ffffff;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #fff;
}

/* Auth Layout Structure */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.auth-content {
    flex: 1;
    display: flex;
}

/* Header */
.main-header {
    background-color: #000;
    color: #fff;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo img {
    height: 40px;
}

.header-title {
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.header-title .gold-text {
    color: var(--gold-accent);
    font-weight: 600;
}

/* Footer */
.main-footer {
    background-color: #000;
    color: #fff;
    padding: 1rem;
    text-align: right;
}

/* Login Page Specifics */
.login-split-container {
    width: 100%;
    min-height: calc(100vh - 80px - 56px);
    /* Adjust based on header/footer height */
}

.login-left-panel {
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 2rem;
}

.login-left-logo {
    width: 150px;
}

.login-right-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background-color: #fff;
}

.login-form-container {
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.login-logo-main {
    margin-bottom: 1rem;
    width: 80px;
}

.login-title {
    font-size: 1.5rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 3rem;
    color: #000;
}

.login-title span {
    color: var(--gold-accent);
}

/* Form Styling */
.form-floating>.form-control {
    border: none;
    border-bottom: 2px solid #e0e0e0;
    border-radius: 0;
    padding-left: 0;
    padding-right: 0;
}

.form-floating>.form-control:focus {
    box-shadow: none;
    border-bottom: 2px solid var(--gold-accent);
}

.form-floating>label {
    padding-left: 0;
    color: #666;
}

.btn-login {
    background-color: #000;
    color: #fff;
    border: none;
    padding: 12px;
    width: 100%;
    font-weight: 600;
    margin-top: 2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background-color: #333;
    color: var(--gold-accent);
}

/* Dashboard Styling */
.dashboard-container {
    background-color: #f8f9fa;
    flex: 1;
}

.dashboard-card {
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    background: #fff;
    min-height: 80vh;
}

.dashboard-greeting h4 {
    font-weight: 400;
}

.storage-pill {
    background-color: #000;
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    border: 1px solid #333;
}

.storage-text {
    margin-right: 12px;
    opacity: 0.9;
    font-weight: 500;
}

.btn-upload {
    background-color: #333;
    color: #D4AF37;
    /* Gold */
    border: none;
    padding: 10px 28px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-upload:hover {
    background-color: #000;
    color: #fff;
}

/* File Table */
.file-table {
    margin-top: 2rem;
}

.file-table thead th {
    border-bottom: 2px solid #f0f0f0;
    color: #888;
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-bottom: 1rem;
    padding-left: 1rem;
}

.file-table tbody td {
    vertical-align: middle;
    padding: 1.2rem 1rem;
    border-bottom: 1px solid #f8f8f8;
    color: #444;
    font-size: 0.95rem;
}

.file-table tbody tr:hover {
    background-color: #fafafa;
}

.file-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
    color: #fff;
    border-radius: 6px;
    text-transform: uppercase;
    background-color: #555; /* dark fallback for any unknown type */
}

.file-icon-zip {
    background-color: #558b2f; /* dark green */
}

.file-icon-rar {
    background-color: #6a1f7a; /* dark purple */
}

.file-icon-7z {
    background-color: #4a148c; /* deep purple */
}

.file-icon-doc {
    background-color: #1565c0; /* dark blue */
}

.file-icon-docx {
    background-color: #1565c0; /* dark blue */
}

.file-icon-xls {
    background-color: #2e7d32; /* dark green */
}

.file-icon-xlsx {
    background-color: #2e7d32; /* dark green */
}

.file-icon-ppt {
    background-color: #bf360c; /* dark orange-red */
}

.file-icon-pptx {
    background-color: #bf360c; /* dark orange-red */
}

.file-icon-jpg {
    background-color: #0277bd; /* dark cyan-blue */
}

.file-icon-jpeg {
    background-color: #0277bd;
}

.file-icon-png {
    background-color: #00695c; /* dark teal */
}

.file-icon-gif {
    background-color: #ad1457; /* dark pink */
}

.file-icon-svg {
    background-color: #e65100; /* dark orange */
}

.file-icon-pdf {
    background-color: #b71c1c; /* dark red */
}

.file-icon-mp4 {
    background-color: #1a237e; /* dark indigo */
}

.file-icon-mp3 {
    background-color: #4a148c; /* deep purple */
}

.file-icon-txt {
    background-color: #37474f; /* dark blue-grey */
}

.file-icon-default {
    background-color: #555;
}

.file-name {
    font-weight: 500;
    color: #222;
}

.action-icons {
    opacity: 0.6;
    transition: opacity 0.2s;
}

.file-table tr:hover .action-icons {
    opacity: 1;
}

.action-icon {
    font-size: 1.2rem;
    transition: color 0.2s;
    text-decoration: none;
}

/* Admin tables */
.admin-table-responsive {
    overflow: visible;
}

.admin-table-responsive .dropdown-menu {
    z-index: 1055;
}

/* Upload Page Styling */
.upload-card {
    border: none;
    border-radius: 0;
}

.upload-placeholder {
    background-color: var(--dark-bg);
    color: var(--gold-accent);
}

.upload-icon-large {
    font-size: 5rem;
    border: 3px solid var(--gold-accent);
    border-radius: 12px;
    width: 120px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-file-upload {
    position: relative;
    overflow: hidden;
}

.custom-file-upload input[type=file] {
    position: absolute;
    font-size: 100px;
    right: 0;
    top: 0;
    opacity: 0;
    cursor: pointer;
}

.btn-outline-gold {
    border: 1px solid var(--gold-accent);
    color: var(--gold-accent);
    background: transparent;
    padding: 10px 15px;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.btn-outline-gold:hover {
    background-color: var(--gold-accent);
    color: #fff;
}

/* Share Page Styling (Reusing Upload Card structure) */
.share-placeholder {
    background-color: #C0A66B;
    /* Gold background */
    color: #3e3e3e;
}

.share-icon-large {
    font-size: 5rem;
    border: 3px solid #3e3e3e;
    color: #3e3e3e;
    border-radius: 12px;
    width: 120px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}
