.icon-google svg,
.icon-onedrive svg {
    filter: drop-shadow(0 0 6px rgba(255,123,0,0.6));
    transition: 0.3s;
}

.icon-google svg:hover,
.icon-onedrive svg:hover {
    filter: drop-shadow(0 0 12px rgba(255,123,0,1));
}
.default-cloud {
    background: #ff7b00;
    color: #000;
    padding: 4px 10px;
    border-radius: 8px;
    font-weight: 600;
    margin-left: 10px;
}
.sync-status {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 10px;
    background: #262626;
    border: 1px solid #ff7b00;
    color: #ff7b00;
    font-weight: 600;
    animation: syncGlow 1.5s infinite alternate;
}

@keyframes syncGlow {
    from { box-shadow: 0 0 4px rgba(255,123,0,0.4); }
    to   { box-shadow: 0 0 14px rgba(255,123,0,1); }
}
.btn-cloud {
    border-radius: 10px !important;
    border: 1px solid #ff7b00 !important;
    color: #ff7b00 !important;
    padding: 10px 14px !important;
    transition: 0.2s;
}

.btn-cloud:hover {
    background: #ff7b00 !important;
    color: #000 !important;
    box-shadow: 0 0 12px rgba(255,123,0,0.9);
}

.vault-btn-glow {
    background: linear-gradient(135deg, #ff7b00, #cc5f00);
    color: #fff;
    border: none;
    padding: 10px 22px;
    font-weight: 600;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 0 12px rgba(255, 123, 0, 0.55);
}

.vault-btn-glow:hover {
    box-shadow: 0 0 18px rgba(255, 123, 0, 0.75);
    transform: translateY(-2px);
    background: linear-gradient(135deg, #ffa64d, #ff7b00);
}

.vault-btn-glow:active {
    transform: scale(0.97);
}

.vault-body {
    background: #0f0f0f;
    color: #e0e0e0;
    font-family: 'Inter', sans-serif;
}

.vault-card {
    background: #1a1a1a;
    border-radius: 18px;
    border: 1px solid #2a2a2a;
    box-shadow: 0 8px 24px rgba(0,0,0,0.45);
}

.vault-logo {
    height: 60px;
}

.vault-title {
    color: #ff7b00;
    font-weight: 600;
}

.vault-subtitle {
    color: #b0b0b0;
    font-size: 0.9rem;
}

.vault-label {
    color: #d0d0d0;
}

.vault-input {
    background: #111;
    border: 1px solid #333;
    color: #e0e0e0;
    border-radius: 10px;
}

.vault-input:focus {
    border-color: #ff7b00;
    box-shadow: 0 0 0 0.2rem rgba(255,123,0,0.25);
}

.vault-btn {
    background: linear-gradient(145deg, #ff7b00, #cc6300);
    border: none;
    border-radius: 12px;
    padding: 12px;
    font-weight: 600;
}

.vault-btn:hover {
    background: linear-gradient(145deg, #ffa64d, #ff7b00);
}
/* ------------------------------
   DARK FORM + FLOATING LABELS
   ------------------------------ */

.form-control, .form-select, textarea {
    background: #1e1e1e !important;
    border: 1px solid #444 !important;
    color: #fff !important;
    border-radius: 12px !important;
    padding: 14px 16px !important;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.4);
    transition: all 0.25s ease;
}

.form-control:focus, .form-select:focus, textarea:focus {
    border-color: #ff7b00 !important;
    box-shadow: 0 0 8px rgba(255,123,0,0.6);
    background: #262626 !important;
}

/* Floating labels */
.form-floating > label {
    color: #bbb !important;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    opacity: 1 !important;
    transform: scale(.85) translateY(-1.2rem) translateX(.15rem);
    color: #ff7b00 !important;
}

/* Section headers */
h5 {
    color: #ff7b00;
    font-weight: 600;
}

/* Checkboxes */
.form-check-input:checked {
    background-color: #ff7b00 !important;
    border-color: #ff7b00 !important;
}

/* Submit button */
.btn-primary {
    background: linear-gradient(145deg, #ff7b00, #cc6300) !important;
    border: none !important;
    padding: 14px !important;
    border-radius: 12px !important;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(255,123,0,0.4);
    transition: 0.25s ease;
}

.btn-primary:hover {
    background: linear-gradient(145deg, #ffa64d, #ff7b00) !important;
    box-shadow: 0 6px 14px rgba(255,123,0,0.6);
}

/* Page background */
body {
    background: #121212 !important;
    color: #fff !important;
}
.seo-only-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Ensure navbar height fits the logo */
.quantiq-header .navbar-brand img {
    max-height: 42px;
    display: block;
}

/* Fix navbar vertical alignment */
.quantiq-header .navbar-brand {
    display: flex;
    align-items: center;
}

.quantiq-header {
    min-height: 60px;
}

/* ============================
   VAULT NAVBAR
============================ */
.quantiq-header {
    background: #0d1b2a;
    padding: 0.5rem 1rem;
}

/* Logo */
.quantiq-logo-small {
    height: 42px;
    width: auto;
    object-fit: contain;
}

/* Icon Buttons */
.qi-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    width: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #fff;
    transition: 0.2s ease;
}

.qi-icon-btn:hover {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

/* Main Container */
.vault-main {
    margin-top: 2rem;
}

/* ============================
   VAULT HERO
============================ */
.vault-hero {
    background: linear-gradient(135deg, #1a1f36 0%, #243b53 60%, #c88a4a 100%);
    color: #fff;
    border: none;
}

.vault-title {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.subtext {
    font-size: 14px;
    color: #ccc !important;   /* brighter */
    opacity: 1 !important;    /* remove fade */
}

label {
    color: #ffb366 !important;   /* soft orange tint */
}

/* ============================
   FOOTER
============================ */
.vault-footer {
    background: #1a1f36;
    color: #fff;
}

.footer-title {
    font-weight: 700;
    font-size: 20px;
}

.footer-tagline {
    opacity: 0.8;
    font-size: 14px;
}

.footer-link {
    color: #c88a4a;
    text-decoration: none;
    font-weight: 500;
}

.footer-link:hover {
    text-decoration: underline;
}

.footer-divider {
    border-color: rgba(255,255,255,0.15);
}

.footer-social {
    color: #c88a4a;
    font-size: 18px;
    text-decoration: none;
}

.footer-social:hover {
    color: #e0a86d;
}

.footer-share-label {
    font-weight: 600;
    color: #fff;
}

/* ============================
   SHARED CONTAINERS / CARDS
============================ */
.bulk-container,
.report-container,
.edit-item-container,
.item-view-container,
.empty-state-box {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.report-container { max-width: 700px; }
.edit-item-container { max-width: 600px; }

/* ============================
   BULK QR
============================ */
.bulk-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.bulk-item {
    background: #f8fafc;
    padding: 10px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.qr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.qr-card {
    text-align: center;
    padding: 15px;
    border-radius: 10px;
    background: #f8fafc;
}

.qr-card img {
    width: 150px;
    height: 150px;
}

.qr-label {
    font-weight: bold;
    margin-top: 10px;
}

.qr-serial {
    color: #555;
}

.print-btn { margin-top: 20px; }

/* ============================
   REPORTS
============================ */
.report-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.report-form select {
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.report-preview {
    margin-top: 25px;
    background: #f8fafc;
    padding: 20px;
    border-radius: 10px;
}

.preview-row {
    display: flex;
    margin-bottom: 10px;
}

.preview-label {
    width: 150px;
    font-weight: bold;
    color: #444;
}

.preview-value {
    color: #333;
}

.generate-btn {
    margin-top: 20px;
    display: inline-block;
}

/* ============================
   EDIT ITEM
============================ */
.edit-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.edit-form label {
    font-weight: bold;
    color: #444;
}

.edit-form input,
.edit-form textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.edit-form textarea {
    height: 120px;
    resize: vertical;
}

/* ============================
   BUTTONS (Bootstrap overrides)
============================ */
.btn-primary,
.btn-secondary,
.btn-danger {
    padding: 10px 16px;
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    border: none;
    cursor: pointer;
}

.btn-primary { background: #1a1f36; }
.btn-secondary { background: #4a5568; }
.btn-danger { background: #c53030; }

/* ============================
   ITEM VIEW
============================ */
.item-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.item-details { margin-bottom: 30px; }

.detail-row {
    display: flex;
    margin-bottom: 10px;
}

.detail-label {
    width: 150px;
    font-weight: bold;
    color: #444;
}

.detail-value { color: #333; }

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

.gallery-image img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
}

.empty-state { color: #777; }

/* ============================
   ITEM LIST
============================ */
.item-list-container { margin-top: 20px; }

.item-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.item-card {
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    text-decoration: none;
    color: #333;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    transition: 0.2s;
    display: flex;
    gap: 15px;
}

.item-card:hover { transform: translateY(-3px); }

.item-thumb img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
}

.thumb-placeholder {
    width: 80px;
    height: 80px;
    background: #e5e7eb;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.item-info h3 {
    margin: 0 0 5px 0;
    font-size: 18px;
}

.item-info p {
    margin: 2px 0;
    color: #555;
}

.value {
    font-weight: bold;
    color: #1a1f36;
}

/* ============================
   DASHBOARD / GENERAL LAYOUT
============================ */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f5f7fa;
    color: #333;
}

.main-content { padding: 30px; }

.page-title {
    font-size: 28px;
    margin-bottom: 5px;
}

.page-subtitle {
    color: #666;
    margin-bottom: 25px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.dash-card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    transition: 0.2s;
}

.dash-card:hover { transform: translateY(-3px); }

.dash-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.card p,
p {
    color: #e0e0e0 !important;
    opacity: 1 !important;
}

.section-title { margin-bottom: 15px; }

.recent-items {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
}

.recent-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: #333;
}

.recent-item:last-child { border-bottom: none; }