
html, body {
    height: 100%;
    margin: 0; 
    padding: 0; 
}

body {
    background: linear-gradient(135deg, #6dd5ed, #2193b0);
    font-family: 'Poppins', sans-serif;
	 display: flex;
    flex-direction: column;
}
main {
    flex-grow: 1;
    
}



.tabs-container {
    background-color: #e9ecef;
    border-radius: 10px;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.05);
    padding: 8px;
}

.tab-button {
    background-color: #f8f9fa;
    color: #555;
    padding: 8px 15px;
    border: none;
    border-radius: 8px;
    font-size: 0.9em;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.1s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-grow: 1; 
    justify-content: center; 
}

.tab-button:hover:not(.active) {
    background-color: #e2e6ea;
    transform: translateY(-1px);
}

.tab-button.active {
    background-color: #007bff;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.25);
    transform: translateY(-2px);
}

.tab-button.active:hover {
    background-color: #007bff;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.25);
}

.form-section.card {
    border: 1px solid #e0e0e0;
    background-color: #fdfdff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    flex-grow: 1; 
    overflow-y: auto; 
    min-height: 0; 
}

.form-section label {
    font-weight: 600;
    color: #555;
    font-size: 0.9em;
}

.option-card.card {
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}


.qr-output-section.card {
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

#qrcode {
    min-height: 250px; 
    background-color: #fcfcfc;
    border: 2px solid #e9ecef;
    box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; 
}


#qrcode canvas, #qrcode svg {
    max-width: 100%;
    height: auto;
    display: block; 
}


.download-buttons .btn {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
#downloadPngBtn { background-color: #27ae60; border-color: #27ae60; }
#downloadPngBtn:hover { background-color: #229954; border-color: #229954; }
#downloadJpgBtn { background-color: #f39c12; border-color: #f39c12; }
#downloadJpgBtn:hover { background-color: #e67e22; border-color: #e67e22; }
#downloadSvgBtn { background-color: #9b59b6; border-color: #9b59b6; }
#downloadSvgBtn:hover { background-color: #8e44ad; border-color: #8e44ad; }



.mega-dropdown .dropdown-menu {
    width: 800px;
    max-width: calc(100vw - 30px);

    left: auto;
    right: 0;
   
    padding: 2rem 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: none;
    border-top: 3px solid #007bff;
    border-radius: 0 0 0.5rem 0.5rem;
    margin-top: 0.5rem; 
}

.mega-menu-title {
    font-weight: 600;
    color: #343a40;
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e9ecef;
    font-size: 1rem;
}

.mega-menu-item {
    display: flex !important;
    align-items: center;
    padding: 0.75rem 1rem !important;
    border-radius: 0.5rem;
    transition: background-color 0.2s ease-in-out, transform 0.2s ease;
    margin-bottom: 0.5rem;
}

.mega-menu-item:hover {
    background-color: #f1f3f5 !important;
    color: inherit;
    transform: translateX(4px);
}

.mega-menu-item .icon-wrap {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background-color: #e7f1ff;
    color: #007bff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin-right: 1rem;
    font-size: 1rem;
}

.mega-menu-item .text-wrap {
    display: flex;
    flex-direction: column;
}

.mega-menu-item .title {
    font-weight: 600;
    color: #212529;
    font-size: 0.95rem;
    line-height: 1.2;
}

.mega-menu-item .description {
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 400;
    line-height: 1.4;
    margin-top: 2px;
}

.mega-menu-item.disabled-item {
    opacity: 0.6;
    pointer-events: none;
    background-color: transparent !important;
    transform: none;
}

@media (max-width: 991.98px) {
    .mega-dropdown .dropdown-menu {
        width: 100%;
        max-width: 100%;
        left: 0;
        transform: none;
        border-top: none;
        box-shadow: none;
        padding: 1rem;
    }
    .mega-menu-title {
        margin-top: 1rem;
    }
    .col-lg-4, .col-md-6, .col-md-12 {
        margin-bottom: 0; 
.message-alert {
    position: fixed;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    border-radius: 8px;
    color: white;
    z-index: 1000;
    opacity: 0;
    transition: all 0.5s ease-in-out;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    font-weight: 600;
    font-size: 0.95em;
}
.message-alert.show {
    opacity: 1;
    top: 20px;
}
.message-alert.info { background-color: #3498db; }
.message-alert.error { background-color: #e74c3c; }
.message-alert.success { background-color: #27ae60; }





section {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

section h2 {
    color: #343a40; 
}


#tools .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#tools .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

#tools .card-body i {
    color: #007bff; 
}


#faq .accordion-button {
    background-color: #f8f9fa; 
    color: #343a40; 
    font-weight: 600;
}

#faq .accordion-button:not(.collapsed) {
    color: #007bff;
    background-color: #e9ecef;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .08);
}

#faq .accordion-body {
    background-color: #ffffff; 
    color: #495057;
}



