.frst{
    width: 100px;
}

.search-container {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.search-container input {
    width: 100%;
}

.search-container svg {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    height: 20px;
    cursor: pointer;
}

#myform, #productDetailsModal, #tab, #successModal {
    display: none; /* Default hidden */
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.5s;
}

#myform.modal-show, #productDetailsModal.modal-show, #tab.modal-show, #successModal.modal-show {
    display: flex; /* Show with flexbox when this class is present */
    align-items: center;
    justify-content: center;
}


@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

#myform .modal-content, #productDetailsModal .modal-content, #tab .modal-content, #successModal .modal-content {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 40px;
    border: none;
    width: 90%;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    max-height: 90vh; /* Limit height to prevent overflow */
    overflow-y: auto; /* Enable scrolling if content exceeds max-height */
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

#myform .login {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

#myform .form-control {
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 15px;
    color: white;
    padding: 15px;
}

#myform .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

#myform #sub {
    padding: 15px;
    width: 100%;
    font-weight: bold;
    border-radius: 15px;
    background-color: white;
    color: #764ba2;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

#myform #sub:hover {
    background-color: #f0f0f0;
}

#myform .pass {
    color: white;
    text-decoration: none;
    display: block;
    text-align: center;
    margin-top: 1rem;
    transition: color 0.3s;
}

#myform .pass:hover {
    color: #f0f0f0;
}


.card {
    background-color: #fff;
    color: #333;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin-top: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.header {
    background-color: #f8f9fa;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-nav .nav-link {
    color: #333;
    font-weight: 600;
    padding: 10px 15px;
    border-radius: 8px;
    transition: background-color 0.3s, color 0.3s, transform 0.3s;
}

.navbar-nav .nav-link:hover {
    background-color: #007bff;
    color: #fff;
    transform: scale(1.05);
}

.navbar-nav .btn {
    margin-left: 15px;
    border-radius: 8px;
    transition: transform 0.3s;
}

.navbar-nav .btn:hover {
    transform: scale(1.05);
}

#navbarSupportedContent {
    display: flex;
    align-items: center;
}

.login-button-container {
    margin-left: 10px; /* Adjust as needed for spacing */
}

/* Animation for Buy Now button in product details modal */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    50% {
        background-position: 1000px 0;
    }
    100% {
        background-position: -1000px 0;
    }
}

#productDetailsModal #buyNowButton {
    background-color: #ff416c; /* A vibrant new color */
    background-image: linear-gradient(to right, #ff416c 0%, #ff4b2b 20%, #ff416c 40%, #ff416c 100%);
    background-repeat: no-repeat;
    background-size: 200% 100%;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    animation: shimmer 3s infinite linear;
}

#productDetailsModal #buyNowButton:hover {
    background-color: #ff4b2b;
}

/* Explicitly define collapse styles to prevent conflicts */
.collapse:not(.show) {
    display: none;
}

.collapsing {
    height: 0;
    overflow: hidden;
    transition: height 0.35s ease;
}

.collapse.show {
    display: block;
}

@media (max-width: 992px) {
    .search-container {
        margin-top: 1rem;
        width: 100%;
    }
    .navbar-collapse .nav-item {
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        text-align: center;
    }
    .navbar-collapse .nav-item:last-child {
        border-bottom: none;
    }
    .navbar-collapse .nav-link,
    .navbar-collapse .btn {
        width: 100%;
        display: block;
        padding: 10px 0;
    }
    .navbar-collapse .btn {
        margin: 5px 0;
    }

    .navbar-collapse .login-btn {
        margin-top: 10px;
    }

    /* Custom styles for the toggle bar on mobile */
    .navbar-toggler {
        background-color: #007bff; /* Example background color for the toggler button */
        border-color: #007bff;
    }

    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }

    .navbar-collapse.show {
        background-color: #f8f9fa; /* Background for the expanded menu */
        padding: 10px 0;
        border-radius: 5px;
        margin-top: 10px;
    }
}
@media (min-width: 992px) {
    .search-container {
        width: 300px; /* Adjust as needed */
    }
}

/* Mobile la hide */

.hide-contact-us-button {
    display: none;
}

.tab {
    display: none;
}

@media (min-width: 600px) and (max-width: 900px) {
    .tab {
        height: 5rem;
        width: 100%;
        background-color: #764ba2;
        display: block;
    }
}



