/*html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}*/

/* Genel Body Ayarları */
body {
    font-family: 'Segoe UI', Roboto, Arial, sans-serif;
}

body.light-mode {
    background-color: #F2F2F2;
    color: #212529;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

/* Navbar */
.navbar-light .navbar-brand {
    color: #0d6efd;
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-light .navbar-nav .nav-link {
    color: #212529;
    transition: color 0.3s ease;
}

    .navbar-light .navbar-nav .nav-link:hover,
    .navbar-light .navbar-nav .nav-link.active {
        color: #0d6efd;
        font-weight: 600;
    }

/* Dropdown Menu */
.dropdown-menu {
    border-radius: 0.25rem;
    box-shadow: 0 0.5rem 1rem rgb(13 110 253 / 0.15);
}

/* Butonlar */
.btn-primary {
    background-color: #0d6efd;
    border: none;
    transition: background-color 0.3s ease;
    font-weight: 600;
}

    .btn-primary:hover {
        background-color: #084cd3;
    }

/* Footer */
footer {
    background-color: #212529;
    color: #adb5bd;
    font-size: 0.875rem;
}

    footer a {
        color: #adb5bd;
        text-decoration: none;
        transition: color 0.3s ease;
    }

        footer a:hover {
            color: #0d6efd;
            text-decoration: underline;
        }

/* Ana Başlıklar */
h1 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: #0d6efd;
}

/* Metin Paragrafları */
p {
    font-size: 1rem;
    margin-bottom: 1rem;
}

/* Textarea */
textarea.form-control {
    font-family: monospace, monospace;
    font-size: 1rem;
    resize: vertical;
    min-height: 150px;
}

/* Select */
select.form-select {
    max-width: 300px;
}

/* Responsive Padding */
main.container {
    padding-top: 4rem;
    padding-bottom: 3rem;
}

/* Scrollbar (isteğe bağlı modern görünüm) */
body.light-mode::-webkit-scrollbar {
    width: 8px;
}

body.light-mode::-webkit-scrollbar-track {
    background: #f1f1f1;
}

body.light-mode::-webkit-scrollbar-thumb {
    background-color: #0d6efd;
    border-radius: 20px;
    border: 3px solid #f1f1f1;
}

/* Mobilde Menü Butonu Rengi */
.navbar-light .navbar-toggler-icon {
    filter: invert(32%) sepia(99%) saturate(2380%) hue-rotate(212deg) brightness(93%) contrast(102%);
}

button.btn-copy {
    background-color: #a8d0ff;
    color: #0d3b66;
    border: 1px solid #7aaeff;
    transition: background-color 0.3s ease;
}

    button.btn-copy:hover {
        background-color: #7aaeff;
        color: white;
    }

.tool-card {
    background-color: #E8E8E8; /* Açık gri ton, sitenizin genel tonuna göre ayarla */
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border: 1px solid #ddd;
    margin-top: 15pt;
    margin-bottom: 25pt;
}

.custom-breadcrumb {
    background-color: #0d6efd; /* Bootstrap primary blue */
    box-shadow: 0 2px 6px rgb(13 110 253 / 0.4);
    margin-bottom: 1rem;
}

    .custom-breadcrumb .breadcrumb {
        background-color: transparent;
    }

    .custom-breadcrumb .breadcrumb-item a {
        color: #ffffff;
        font-weight: 700; /* Bold */
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        text-decoration: none;
    }

        .custom-breadcrumb .breadcrumb-item a:hover {
            color: #ffc107; /* Bootstrap warning yellow */
            text-decoration: underline;
        }

    .custom-breadcrumb .breadcrumb-item.active {
        color: #ffc107;
        font-weight: 700;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

.breadcrumb li + li::before {
    content: "/";
    color: white !important; 
    margin: 0 0px; /* İstersen ayraç ile yazılar arasına boşluk koy */
    font-weight: bold !important;
}

.dropdown-submenu {
    position: relative;
}

    /* Submenu'yu sağa doğru aç */
    .dropdown-submenu > .dropdown-menu {
        top: 0;
        left: 100%; /* Yanında açılır */
        margin-left: 0.1rem; /* Biraz boşluk bırak */
        margin-right: 0.1rem;
    }

    .dropdown-submenu > .dropdown-toggle::after {
        transform: rotate(-90deg);
        /* İstersen biraz sol boşluk bırak */
        margin-left: 0.3rem;
    }

section h2.display-6 {
    animation: fadeInDown 0.8s ease-in-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.qr-wrapper {
    font-family: Arial, sans-serif;
    background: #f9f9f9;
    padding: 2rem;
    color: #333;
    max-width: 600px;
    margin: 2rem auto;
    border-radius: 8px;
    box-shadow: 0 0 12px rgb(0 0 0 / 0.1);
}

    /* Başlık */
    .qr-wrapper h1 {
        color: #005bbb;
        text-align: center;
        margin-bottom: 1.5rem;
    }

/* Tab butonları */
.qr-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 1rem;
}

.qr-tab {
    background-color: #e0e0e0;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    font-weight: 500;
    transition: background-color 0.3s, color 0.3s;
}

    .qr-tab.active {
        background-color: #005bbb;
        color: white;
    }

/* İçerik bölümleri */
.qr-tab-content {
    display: none;
    margin-top: 1rem;
}

    .qr-tab-content.active {
        display: block;
    }

/* Warning mesajı */
.qr-warning {
    color: red;
    margin-top: 0.5rem;
    text-align: center;
}

/* QR code kutusu */
#qrcode {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
}

/* İndirme butonu */
.qr-download-btn {
    display: none;
    margin-top: 1rem;
}

.max-100 {
    max-width: 100% !important;
}

.tool-panel {
    font-family: Arial, sans-serif;
    padding: 2rem;
    max-width: 80%;
    margin: 2rem auto;
    background: #fff;
    color: #222;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}

    .tool-panel .nav-tabs {
        border-bottom: 2px solid #dee2e6;
    }

    .tool-panel .tab-pane {
        margin-top: 1.5rem;
    }

    .tool-panel .barcode-tool {
        border: 1px solid #ddd;
        border-radius: 12px;
        padding: 1.4rem 1.8rem;
        box-shadow: 0 3px 6px rgb(0 0 0 / 0.08);
        background: #fafafa;
    }

    .tool-panel label {
        font-weight: 600;
    }

    .tool-panel .form-control {
        border-radius: 10px;
    }

    .tool-panel .btn {
        border-radius: 10px;
    }

    .tool-panel .barcode-output {
        margin-top: 1.5rem;
        text-align: center;
    }

    .tool-panel .download-btn {
        display: none;
        margin-top: 1rem;
    }

    .tool-panel .error {
        color: #d9534f;
        margin-top: 0.5rem;
        min-height: 1.3rem;
        font-weight: 600;
    }