:root {
    --primary: #5eead4;
    --primary-hover: #2dd4bf;
    --bg-dark: #050505;
    --card-bg: #0c0c0c;
    --border: #262626;
    --text-muted: #94a3b8;
    --text-light: #f8fafc;
    --radius-lg: 24px;
    --radius-md: 16px;
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.5);
    --secondary-btn: #1e293b;
    --danger: #ef4444;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-light);
    line-height: 1.5;
    background-color: var(--bg-dark);
    transition: background-color 0.3s, color 0.3s;
}



/* Typography */
h1,
h2,
.logo-text {
    font-family: 'Playfair Display', serif;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

/* Bootstrap Adjustments */
.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.form-control,
.form-select {
    background-color: #1a1a1a;
    border: 1px solid var(--border);
    color: white;
    padding: 12px 16px;
    border-radius: 8px;
}

.form-control:focus,
.form-select:focus {
    background-color: #222;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(94, 234, 212, 0.1);
    color: white;
}

.form-control::placeholder {
    color: #4b5563;
}

/* Header */
header {
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Hero Section */
.hero h1 {
    font-size: 4.5rem;
    color: white;
}

.hero h1 span {
    color: var(--primary);
    font-style: italic;
}

/* Tabs */
.tabs-header::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    background: #1a1a1a;
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 10px 20px;
    border-radius: 30px;
    white-space: nowrap;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.tab-btn i {
    width: 18px;
    height: 18px;
}

.tab-btn:hover {
    background: #262626;
    color: white;
}

.tab-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #000;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.4s ease-out;
}

.tab-pane.active {
    display: block;
}

/* Customize Accordion */
.accordion-button::after {
    filter: invert(1);
}

.accordion-button:not(.collapsed) {
    background-color: transparent;
    color: var(--primary);
    box-shadow: none;
}

.accordion-button:not(.collapsed)::after {
    filter: invert(0.8) sepia(1) saturate(5) hue-rotate(120deg);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

/* QR Container */
.qr-container-wrapper {
    box-shadow: 0 0 50px rgba(94, 234, 212, 0.1);
    min-height: 400px;
}

.qr-output {
    background: #ffffff;
    padding: 15px;
    border-radius: 8px;
}

.qr-output canvas,
.qr-output img {
    max-width: 100%;
    height: auto !important;
}

.qr-display-title {
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.02em;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary);
    border: none;
    color: #000;
    font-weight: 700;
    border-radius: 12px;
    padding: 12px 24px;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    color: #000;
}

.btn-outline-light {
    border: 1.5px solid var(--border);
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 600;
}

.btn-tools {
    background: var(--primary);
    color: #000 !important;
    font-weight: 600;
    padding: 8px 24px !important;
}

.btn-icon {
    background: none;
    border: 1.5px solid var(--border);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-icon:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Share Section */
.share-btn {
    width: 50px;
    height: 50px;
    background: #1a1a1a;
    color: white;
    transition: all 0.2s;
}

.share-btn:hover {
    transform: scale(1.1);
    background: var(--primary);
    color: #000;
}

/* History */
.history-item {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px;
    height: 100%;
    transition: all 0.3s;
}

.history-item:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.history-qr {
    background: white;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.history-qr img {
    width: 100%;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Overrides */
@media (max-width: 991px) {
    .hero h1 {
        font-size: 3rem;
    }

    .logo-img {
        height: 40px;
    }

    .sticky-top {
        position: static !important;
    }
}