* {
	box-sizing: border-box;
        margin: 0;
	padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    min-height: 100vh;
    justify-content: center;
    align-items: center;
    display: block;
}


/* Force all products to stay behind overlay when it's active */
.product_link,
.img-container,
.scrolling-image-container,
.scrolling-track  {
    z-index: 1;
    position: relative;
}

/*  Whenoverlay is active  */
body.no-scroll .product_link,
body.no-scroll .img-container,
body.no-scroll .scrolling-image-container,
body.no-scroll .scrolling-track  {
    z-index: 1 !important;
    pointer-events: none !important;
}



/*  endof changes 30-06-2025*/


main {
    padding: 20px;
}

h1, h2 {
    text-align: center;
}

ul {
    list-style: none;
    padding: 0;
}

li {
    background-color: #fff;
    margin: 10px 0;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

form {
    max-width: 400px;
    margin: 20px auto;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.clear-cart-request {
        display: contents;
        max-width: 400px; 
}


button {
    display: inline-flex !important;
    background-color: #007BFF;
    align-items: center !important;
    justify-content: center !important;
    padding: 12px 24px !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    text-align: center !important;
    width: 100% !important;
    gap: 8px !important;
    color:  #fff;
}

button:hover {
    background-color: #0056b3;
}

footer {
    text-align: center;
    padding: 10px 0;
    background-color: #120c0c;
    color: #fff;
    bottom: 0;
    width: 100%;
}


footer a.footer-button {     display: inline-block; padding: 10px 20px; margin: 10px 0; background-color: #007BFF; color: white;
    text-align: center;   text-decoration: none; border-radius: 5px;  font-size: 14px; cursor: pointer; }

footer a.footer-button:hover {    background-color: #0056b3; }

footer button {    margin: 10px 0; padding: 10px 20px; font-size: 14px; border-radius: 5px; background-color: #007BFF; color: white;
    border: none;     cursor: pointer; }

footer button:hover {     background-color: #0056b3; }

.my-orders { position: absolute; text-align: right; right: 1em;}
/*img { max-width: 200px; max-height: 200px; width: auto; height: auto; object-fit: contain; margin: 0 auto 10px; } */


.img-container { display: flex; z-index: 1; justify-content: center; align-items: center; transition: transform 0.2s ease; cursor: pointer;  }
.img-container:hover { transform: scale(1.0); }



       a {
            text-decoration: none;
            color: inherit;
            transition: var(--transition);
        }


        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        /* ===== HEADER STYLES ===== */
        .header {
            position: relative;
            z-index: 1000;
	    width: 100%;
            background-color: white;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }

        .header-container {
            max-width: 1280px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: space-between;
            position: relative;
        }

        /* ===== LOGO STYLES ===== */
        .logo-container {
            flex-shrink: 0;
            z-index: 1002;
        }

        .logo-container a {
            display: inline-block;
            line-height: 0;
        }

        .top-title {
            height: 40px;
            width: auto;
            max-height: 50px;
            object-fit: contain;
        }

        /* ===== LOADER STYLES ===== */
        .loader {
            display: none;
            width: 20px;
            height: 20px;
            border: 2px solid var(--border-color);
            border-top-color: var(--primary-color);
            border-radius: 50%;
            animation: spin 1s linear infinite;
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
        }

        .loader.active {
            display: block;
        }

        @keyframes spin {
            to { transform: translate(-50%, -50%) rotate(360deg); }
        }

        /* ===== DESKTOP NAVIGATION ===== */
        .nav {
            display: flex;
            align-items: center;
        }

        .nav-links {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            list-style: none;
        }

        .nav-link {
            display: flex;
            align-items: center;
            gap: 0.375rem;
            padding: 0.5rem 0.875rem;
            font-size: 0.875rem;
            font-weight: 500;
            border-radius: var(--radius-sm);
            white-space: nowrap;
            position: relative;
            background-color: transparent;
            transition: var(--transition);
        }

        .nav-link:hover,
        .nav-link:focus-visible {
            background-color: var(--bg-light);
            color: var(--primary-color);
            outline: 2px solid var(--primary-color);
            outline-offset: 2px;
        }

        .nav-link-cart-link {
            position: relative;
            padding-right: 1.75rem;
        }

        .cart-count {
            position: absolute;
            top: -0.25rem;
            right: 0.375rem;
            background-color: var(--accent-color);
            color: white;
            font-size: 0.75rem;
            font-weight: 600;
            min-width: 1.125rem;
            height: 1.125rem;
            border-radius: 0.5625rem;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0 0.25rem;
            line-height: 1;
        }

        .logout-link {
            color: var(--accent-color);
        }

        .logout-link:hover {
            background-color: #fee2e2;
        }

        .user-name {
            max-width: 120px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            display: inline-block;
        }

        /* ===== HAMBURGER MENU BUTTON ===== */
        .hamburger-btn {
            display: none;
            flex-direction: column;
            justify-content: space-between;
            width: 2.5rem;
            height: 2rem;
            padding: 0.5rem;
            margin-left: 0.5rem;
            border-radius: var(--radius-sm);
            transition: var(--transition);
        }

        .hamburger-btn:hover,
        .hamburger-btn:focus-visible {
            background-color: var(--bg-light);
            outline: 2px solid var(--primary-color);
            outline-offset: 2px;
        }

        .hamburger-line {
            width: 100%;
            height: 2px;
            background-color: var(--text-color);
            border-radius: 1px;
            transition: var(--transition);
        }

        .hamburger-btn.active .hamburger-line:nth-child(1) {
            transform: translateY(0.5625rem) rotate(45deg);
        }

        .hamburger-btn.active .hamburger-line:nth-child(2) {
            opacity: 0;
        }

        .hamburger-btn.active .hamburger-line:nth-child(3) {
            transform: translateY(-0.5625rem) rotate(-45deg);
        }

        /* ===== MOBILE MENU ===== */
        .mobile-menu {
            position: fixed;
            top: 0;
            right: 0;
            width: 100%;
            max-width: 320px;
            height: 100vh;
            background-color: white;
            box-shadow: -2px 0 10px rgba(0,0,0,0.3);
            transform: translateX(100%);
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: 1001;
            display: flex;
            flex-direction: column;
            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
        }

        .mobile-menu.active {
            transform: translateX(0);
        }

        .mobile-menu-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 1000;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .mobile-menu-overlay.active {
            display: block;
            opacity: 1;
        }

        .mobile-menu-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem;
            border-bottom: 1px solid var(--border-color);
            background-color: var(--bg-light);
        }

        .close-menu {
            font-size: 1.75rem;
            line-height: 1;
            padding: 0.25rem;
            border-radius: var(--radius-sm);
            transition: var(--transition);
        }

        .close-menu:hover,
        .close-menu:focus-visible {
            background-color: var(--border-color);
            outline: 2px solid var(--primary-color);
            outline-offset: 2px;
        }

        .mobile-menu-links {
            display: flex;
            flex-direction: column;
            padding: 1rem;
        }

        .mobile-link {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.875rem 1rem;
            font-size: 1rem;
            font-weight: 500;
            border-radius: var(--radius-sm);
            margin-bottom: 0.25rem;
            transition: var(--transition);
        }

        .mobile-link:hover,
        .mobile-link:focus-visible {
            background-color: var(--bg-light);
            color: var(--primary-color);
            outline: 2px solid var(--primary-color);
            outline-offset: 2px;
        }

        .mobile-link.logout {
            color: var(--accent-color);
            margin-top: 0.5rem;
        }

        .mobile-categories-btn {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            padding: 0.875rem 1rem;
            font-size: 1rem;
            font-weight: 500;
            border-radius: var(--radius-sm);
            background-color: transparent;
            transition: var(--transition);
            margin-bottom: 0.25rem;
        }

        .mobile-categories-btn:hover,
        .mobile-categories-btn:focus-visible {
            background-color: var(--bg-light);
            color: var(--primary-color);
            outline: 2px solid var(--primary-color);
            outline-offset: 2px;
        }

        .mobile-categories-btn::after {
            content: "›";
            font-size: 1.25rem;
            transform: rotate(90deg);
            transition: transform 0.3s ease;
        }

        .mobile-categories-btn.active::after {
            transform: rotate(-90deg);
        }

        /* ===== CATEGORIES OVERLAY ===== */
        .categories-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background-color: white;
            z-index: 1003;
            transform: translateX(-100%);
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            display: flex;
            flex-direction: column;
        }

        .categories-overlay.active {
            transform: translateX(0);
        }

        .categories-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem;
            border-bottom: 1px solid var(--border-color);
            background-color: var(--bg-light);
        }

        .close-categories {
            font-size: 1.75rem;
            line-height: 1;
            padding: 0.25rem;
            border-radius: var(--radius-sm);
            transition: var(--transition);
  	    max-width: 70px; 
        }

        .close-categories:hover,
        .close-categories:focus-visible {
            background-color: var(--border-color);
            outline: 2px solid var(--primary-color);
            outline-offset: 2px;
        }

        .categories-content {
            flex: 1;
            padding: 1rem;
            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
        }

        .category-list {
            display: grid;
            gap: 0.5rem;
        }

        .category-item {
            display: block;
            padding: 1rem;
            font-size: 1rem;
            font-weight: 500;
            border-radius: var(--radius-sm);
            border: 1px solid var(--border-color);
            background-color: var(--bg-light);
            text-align: center;
            transition: var(--transition);
        }

        .category-item:hover,
        .category-item:focus-visible {
            background-color: var(--primary-color);
            color: white;
            border-color: var(--primary-color);
            transform: translateY(-2px);
            box-shadow: var(--shadow-md);
            outline: none;
        }

        /* ===== RESPONSIVE BREAKPOINTS ===== */
        @media (max-width: 768px) {
            .header {
                padding: 0.5rem 0.75rem;
            }

            .hamburger-btn {
                display: flex;
            }

            .nav-links {
                display: none;
            }

            .mobile-menu-overlay {
                display: block;
            }
        }

        @media (max-width: 480px) {
            .top-title {
                height: 35px;
            }

            .mobile-menu {
                max-width: 280px;
            }
        }

        /* ===== LEGACY BROWSER SUPPORT ===== */
        /* IE10+ support */
        @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
            .header-container {
                display: -ms-flexbox;
            }

            .nav-links {
                display: -ms-flexbox;
            }

            .mobile-menu {
                display: none;
            }

            .mobile-menu.active {
                display: block;
                position: absolute;
                right: 0;
                transform: none;
            }
        }

        /* Fallback for browsers without flexbox gap support */
        @supports not (gap: 0.75rem) {
            .nav-links > * + * {
                margin-left: 0.75rem;
            }

            .mobile-menu-links > * + * {
                margin-top: 0.25rem;
            }
        }

        /* ===== ACCESSIBILITY ===== */
        @media (prefers-reduced-motion: reduce) {
            *,
            *::before,
            *::after {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }

            .mobile-menu,
            .categories-overlay {
                transition: none;
            }
        }

        .visually-hidden {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0;
        }

        /* ===== PRINT STYLES ===== */
        @media print {
            .header {
                position: static;
                box-shadow: none;
                border-bottom: 1px solid #000;
            }

            .nav-links,
            .hamburger-btn,
            .mobile-menu,
            .mobile-menu-overlay,
            .categories-overlay {
                display: none !important;
            }
        }





th { border: 1px solid black; padding: 8px; }
td { border: 1px solid black; padding: 8px; }


.prescription-table { width: 60%; margin: 20px auto; border-collapse: collapse; text-align: center; background-color: #f9f9f9;
			box-shadow: - 4px 8px rgba(0, 0, 0, 0.1); }

.prescription-table th,
.prescription-table td { border: 1px solid #dddddd; padding: 10px; font-size: 16px; }
.prescription-table .eye-label { background-color: #e0e0e0; font-weight: bold; text-transform: uppercase; padding: 8px; }

.prescription-container { border: 2px solid #4CAF50; border-radius: 0px;  padding:0px;  margin-top:10px;  width: max-content;  }
/*.prescription-container-header { text-align: center; font-weight: bold;  color:#CAF50;  margin-bottom:10px;  font-size:1.2em;  }*/


/*
.submit-container { text-align: center; margin-top: 20px; }
.submit-container input[type="submit"] { padding: 10px 20px; font-size: 16px; background-color: red; color: white; 
					border: none; border-radius: 5px; cursor: pointer; }
*/
select { padding: 10px 20px; font-size: 16px; background-color: blue; color: white; 
                                        border: none; border-radius: 5px; cursor: pointer; }





.running-text-ribbon {
  background-color: #ff0000; /* Red background (adjust as needed) */
  color: white;
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  font-family: Arial, sans-serif;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.running-text-container {
  display: inline-block;
  animation: scrollText 20s linear infinite;
}

.running-text {
  display: inline-block;
  padding-right: 100%; /* Ensures smooth looping */
}

@keyframes scrollText {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%); /* Moves text left */
  }
}




.checkout-form {
    max-width: 600px; /* Set maximum width for the form */
    margin: 20px auto; /* Center align the form and add vertical spacing */
    padding: 20px; /* Add padding inside the form */
    background-color: #f8f8f8; /* Light background color */
    border-radius: 10px; /* Rounded corners for the form */
    border: 1px solid #ddd; /* Light border */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

.checkout-form h1 {
    text-align: center; /* Center align the heading */
    font-size: 24px; /* Increase font size */
    color: #333; /* Darker text color */
    margin-bottom: 20px; /* Add spacing below heading */
}

.checkout-form label {
    display: block !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #0f1111 !important;
    margin-bottom: 6px !important;

}

.checkout-form input[type="password"],
.checkout-form input[type="text"],
.checkout-form input[type="email"],
.checkout-form select  {
    width: 100% !important;
    height: 44px !important;
    padding: 8px 12px !important;
    border: 1px solid #a6a6a6 !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    background: white !important;
    transition: all 0.15s ease !important;

}

    .paytm-button {
    width: 100%; /* Full width for the button */
    padding: 12px; /* Padding inside the button */
    background-color: #28a745; /* Green background color */
    color: #fff; /* White text color */
    border: none; /* Remove default border */
    border-radius: 5px; /* Rounded corners */
    cursor: pointer; /* Pointer cursor on hover */
    font-size: 16px; /* Increase font size */
} 


.checkout-form button:hover {
    background-color: #218838; /* Darker green on hover */
}

.checkout-form #validation-result {
    margin-top: 20px; /* Spacing above validation result */
    font-weight: bold; /* Bold text */
}



@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}


/*.contact-us-container{  display: flex; justify-content: center; align-items: center;}

/* Center the container and apply background styling */
.contact-us-container {
    max-width: 600px;
    margin: 50px auto;  /* Centers the container */
    padding: 20px;
    background-color: #f9f9f9;  /* Match your site's background color */
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Style the heading */
.contact-us-container h1 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2em;
    color: #333;  /* Match your site's theme color */
}

/* Style the form labels */
.contact-us-container form label {
    display: block !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #0f1111 !important;
    margin-bottom: 6px !important;
 
}

/* Style the input fields, textarea, and select */
.contact-us-container form input[type="text"],
.contact-us-container form input[type="email"],
.contact_us-container form input[type="phone"],
.contact-us-container form textarea,
.contact-us-container form select {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-sizing: border-box;
    font-size: 1em;
}

/* Style the submit button */
.contact-us-container form button {
    width: 100%;
    padding: 12px;
    background-color: #007BFF;  /* Match your site's primary button color */
    color: #fff;
    border: none;
    border-radius: 3px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* Hover effect for the button */
.contact-us-container form button:hover {
    background-color: #0056b3;  /* Slightly darker shade on hover */
}

/* Remove the default list style and padding */
.contact-us-container ul {
    list-style-type: none;
    padding: 0;
}

/* Style the form elements for consistent spacing */
.contact-us-container form input,
.contact-us-container form textarea,
.contact-us-container form select {
    font-family: Arial, sans-serif;  /* Match your site's font */
}

/* Optional: Style for smaller screens */
@media (max-width: 600px) {
    .contact-us-container {
        margin: 20px;
        padding: 15px;
    }
}



.my-order-section {
    width: 80%;
    margin: 0 auto;
}

.order-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.order-card {
    background-color: #f4f4f4;
    border: 1px solid #ccc;
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.order-card:hover {
    background-color: #e8e8e8;
}

.order-summary {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
}

.order-details {
    display: none;
    padding: 10px;
    background-color: #fff;
    border-top: 1px solid #ccc;
}

.product-image {
    max-width: 100px;
    margin-right: 10px;
}

.order-details p {
    margin: 5px 0;
}


 .flashes li {color: black;  /* Default color */}

        /* Keyframe animation to alternate between default and red color */
        @keyframes flashRed {   0%, 50% {   color: black;  /* Start and end with the default color */ }
            25% {  color: red;  /* Flash red at 50% of the cycle */   }  }

        /* Apply the animation to flash messages */
        .flashes li { animation: flashRed 10s infinite;  /* 5 seconds for a full cycle, repeat infinitely */
        }



.ribbon { position: fixed;  width: 100%; background-color: yellow; ; text-align: center; font-weight: bold; 
    padding: 10px 0; z-index: 1000; font-size: 16px; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); }


.add-box {
    width: 100%;  height: 40px;   background-color: #f0f0f0; text-align: center;
    line-height: 40px;    cursor: pointer;  border: 1px solid #ccc;    border-radius: 4px; }

/* General Styles */
.prescription-table { width: 100%;     border-collapse: collapse; }

.prescription-table th, .prescription-table td {
    padding: 8px;    text-align: center;     border: 1px solid #ddd; }

.prescription-table select {
    width: 100%;    padding: 8px;    font-size: 1em; }

.eye-label {    text-align: center;    font-weight: bold;    padding: 12px; }

.submit-container {  text-align: center;    margin-top: 20px; }

.submit-container input[type="submit"] {
    width: 100% !important;
    height: 44px !important;
    padding: 8px 12px !important;
    border: 1px solid #a6a6a6 !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    background: white !important;
    transition: all 0.15s ease !important;
}

.submit-container input[type="submit"]:hover {     background-color: #45a049; }

/* Box for ADD values */
.add-box {   width: 100%;  height: 40px;    background-color: #f0f0f0;
    text-align: center;    line-height: 40px;    cursor: pointer;     border: 1px solid #ccc;    border-radius: 4px; }

.add-select-container {    display: inline-block;    margin-top: 10px;     width: 100%; }

.hidden {     display: none; }

/* Responsive Grid */
@media (max-width: 768px) {  .prescription-table th, .prescription-table td {
        padding: 5px;  }

    .prescription-table {         width: 100%; }

    .prescription-table select { font-size: 0.9em; }

    .submit-container input[type="submit"] {
     width: 100% !important;
    height: 44px !important;
    padding: 8px 12px !important;
    border: 1px solid #a6a6a6 !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    background: white !important;
    transition: all 0.15s ease !important;
 }

    .add-box {     height: 35px;         line-height: 35px; }

    .add-select-container {    width: 100%;   }
}

@media (max-width: 480px) {
    .prescription-table th, .prescription-table td {   padding: 3px;         font-size: 0.8em;     }

    .submit-container input[type="submit"] {
    width: 100% !important;
    height: 44px !important;
    padding: 8px 12px !important;
    border: 1px solid #a6a6a6 !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    background: white !important;
    transition: all 0.15s ease !important;

    }

    .add-box {
        height: 30px;
        line-height: 30px;
        font-size: 0.9em;
    }

    .add-select-container {
        width: 100%;
    }
}


.responsive-table { width: 100%; border-collapse: collapse; overflow-x: auto; display: block; -webkit-overflow-scrolling: touch; }


.glow {
  color: #3530d5;
  animation: glow 1s ease-in-out infinite alternate;
}

@-webkit-keyframes glow {
  from {
    text-shadow: 0 0 10px #3530d5, 0 0 20px #fff, 0 0 30px #e60073, 0 0 40px #e60073, 0 0 50px #e60073, 0 0 60px #e60073, 0 0 70px #e60073;
  }

  to {
    text-shadow: 0 0 20px #3530d5, 0 0 30px #ff4da6, 0 0 40px #ff4da6, 0 0 50px #ff4da6, 0 0 60px #ff4da6, 0 0 70px #ff4da6, 0 0 80px #ff4da6;
  }
}


svg  { position: absolute;  color: blue; left: 200px;  width: 25px; height: 25px; }
.svg-logged { position: inherit; color: red;  }
.heart.favorited svg { fill: red; stroke: red; }

.nav-favorite { position:  inherit; color:  red; }
.cl-product-page img {  max-height: 700px; auto; max-width: 400px; }

.img-magnifier-container { position: relative; display: inline-block; }
.img-magnifier-glass { position: absolute; border: 3px solid #000; border-radius: 50%; 
			width: 120px; height: 120px; cursor: none; box-shadow: 0 0 8px rgba(0, 0, 0, 0.50);
		background-color: rgba(255, 255, 255, 0.5);	}

#form-factor {
  border: medium dashed green;
  padding: 5px;
  margin: 5px;
  display: inline-block;
}

#warranty {
  border: medium dashed blue;
  padding: 5px;
  margin: 5px;
  display: inline-block;
}

#fitting_range {
  border: medium dashed orange;
  padding: 5px;
  margin: 5px;
  display: inline-block;
}

#channels {
  border: medium dashed green;
  padding: 5px;
  margin: 5px;
  display: inline-block;
}


/* Outer container */
.prescription-container {
    border: 2px solid #4CAF50;
    border-radius: 8px;
    padding: 20px;
    margin: 20px auto;
    max-width: 800px;
    background: #ffffff;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}

/* The table */
.prescription-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #f9f9f9;
}

/* Table headers and cells */
.prescription-table th,
.prescription-table td {
    border: 1px solid #dddddd;
    padding: 12px;
    font-size: 16px;
    text-align: center;
}

/* Eye labels: Right Eye / Left Eye */
.prescription-table .eye-label {
    background-color: #e0e0e0;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 18px;
    padding: 10px;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .prescription-container {
        padding: 10px;
    }
    .prescription-table th,
    .prescription-table td {
        padding: 8px;
        font-size: 14px;
    }
    .prescription-table .eye-label {
        font-size: 16px;
    }
}

/* collapsible color preview section */
.color-section details {
    margin: 20px auto;
    max-width: 800px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    font-family: Arial, sans-serif;
}

.color-section summary {
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
    padding: 10px;
    outline: none;
}

/* Grid layout for color swatches */
.color-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 16px;
    padding: 15px;
    justify-items: center;
}

/* Swatch styling */
.color-swatch {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ccc;
    transition: transform 0.2s ease;
}

.color-swatch:hover {
    transform: scale(1.1);
    border-color: #4CAF50;
}

/* Optional: add color name below image */
.color-label {
    text-align: center;
    font-size: 12px;
    margin-top: 6px;
}

.prescription-summary details:not([open]) .eye-prescription { display: none;  } 
.prescription-summary details {
  margin-top: 0.5em;
  cursor: pointer;
  font-size: 0.95em;
  color: #333;
}

.prescription-summary summary {
  font-weight: bold;
  color: #0074D9;
  padding: 0.3em 0;
}

.eye-prescription {
  display: flex;
  justify-content: space-between;
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1em;
  margin-top: 0.5em;
}

.eye-box {
  flex: 1;
  padding: 0 0.5em;
  text-align: center;
}

.eye-label {
  font-weight: bold;
  margin-bottom: 0.3em;
  color: #005fa3;
}

.eye-data {
  font-size: 0.95em;
  color: #333;
  line-height: 1.5em;
}

@media screen and (max-width: 600px) {
  .eye-prescription {
    flex-direction: column;
    align-items: center;
    padding: 0.8em;
  }

  .eye-box {
    padding: 0.5em 0;
  }
}


.cl_rx_card {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.cl_rx_header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.cl_rx_product_name {
    font-weight: 600;
    color: #333;
    font-size: 1.2rem;
    margin: 0;
}

.cl_rx_pricing {
    width: 100%;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.cl_rx_original_price {
    color: #999;
}

.cl_rx_special_price {
    color: #e53935;
    font-weight: bold;
}

.cl_rx_prescription {
    margin: 15px 0;
}

.cl_rx_summary {
    cursor: pointer;
    font-weight: 500;
    color: #1976d2;
    padding: 5px 0;
    display: inline-block;
}

.cl_rx_eyes_container {
    display: flex;
    gap: 30px;
    margin-top: 15px;
    padding: 15px;
    background-color: #fff;
    border-radius: 8px;
    flex-wrap: wrap;
}

.cl_rx_eye_section {
    flex: 1;
    min-width: 150px;
}

.cl_rx_eye_heading {
    color: #555;
    margin-bottom: 10px;
    border-bottom: 1px dashed #ddd;
    padding-bottom: 5px;
    font-size: 1rem;
}

.cl_rx_remove_btn {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
    margin-top: 10px;
}

.cl_rx_remove_btn:hover {
    background-color: #ffcdd2;
}

.cl_rx_remove_icon {
    margin-right: 5px;
}

@media (max-width: 600px) {
    .cl_rx_eyes_container {
        flex-direction: column;
        gap: 15px;
    }

    .cl_rx_pricing {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}


ul#product-list {
	list-style: none;
	padding: 0;
}

.scrolling-image-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 10px 0;
    z-index: 1;
}

.scrolling-track {
    display: flex;
    gap: 8px;
    will-change: transform;
}

.scrolling-track img {
    width: 100%;
    height: auto;
    flex-shrink: 0;
    border-radius: 8px;
    object-fit: contain;
}


    /* For browsers that support scroll-snap */
    @supports (scroll-snap-type: x mandatory) {
        .scrolling-image-container {
            scroll-snap-type: x mandatory;
            overflow-x: auto; /* Allow manual scrolling */
        }
        .scrolling-track img {
            scroll-snap-align: start;
        }
    }

    /* Scrollbar styling for WebKit browsers */
    .scrolling-image-container::-webkit-scrollbar {
        height: 6px;
    }
    .scrolling-image-container::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 10px;
    }

    /* Blinking badge styles (kept your original) */
    .s-badge {
        position: inherit;
	display: contents;
        top: 8px;
        left: 8px;
        background-color: #f08a24;
        color: white;
        font-size: 12px;
        padding: 2px 6px;
        border-radius: 4px;
        z-index: 2;
        animation: blink 3s step-end infinite;
        -webkit-animation: blink 3s step-end infinite;
        -moz-animation: blink 3s step-end infinite;
        -o-animation: blink 3s step-end infinite;
        -ms-animation: blink 3s step-end infinite;
    }
    @keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
    @-webkit-keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
    @-moz-keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
    @-o-keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
    @-ms-keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }


.zoomable-image { cursor: zoom-in; transition: transform 0.2s; border-radius: 8px; }
.zoom-modal { display: none; position: fixed; z-index: 1000; top: 0; left: 0; height: 100%; width: 100%; background-color: rgba(0,0,0,0.8); justify-content: center; align-items: center; }
.zoomed-image { max-width: 90%; max-height: 90%; border-radius: 10px; box-shadow: 0 0 10px #000; }
.product_link { position: relative; text-decoration: none; color: inherit; z-index: 1; }
.go-back-btn {  background-color: #eee;  border: none;
  color: #333;  padding: 8px 16px;  font-size: 14px;   
  cursor: pointer;  border-radius: 6px;  margin-bottom: 20px;  
  transition: background-color 0.2s; }




.lens-icon {  width: 20px;  height: 20px;  stroke: #444;  flex-shrink: 0;}

  .radio-with-icon {
    flex-direction: row;    justify-content: flex-start;  }


.modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 60px;
  left: 0; top: 0;
  width: 100%; height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.7);
}

.modal-content {  margin: auto;  display: flex;  flex-wrap: wrap;  justify-content: center;  max-width: 90%;}

.modal-content img {
  margin: 10px;  max-height: 250px;  max-width: 100%;  border-radius: 8px;  border: 2px solid #fff;  box-shadow: 0 2px 10px rgba(0,0,0,0.5); }

.close {   position: absolute;   top: 15px; right: 25px;   color: #fff;   font-size: 30px;  font-weight: bold;
  cursor: pointer;}

.eye-data {    display: flex;    flex-wrap: wrap;    justify-content: space-between;
    border: 1px solid #e0e0e0;    padding: 10px;    border-radius: 8px;    background-color: #f9f9f9;    margin-top: 10px;gap: 10px;}

.eye-line {    flex: 1 1 45%;    display: flex;    align-items: center;    padding: 6px 10px;    border-radius: 6px;    background-color: #ffffff;    box-shadow: 0 1px 2px rgba(0,0,0,0.08);font-weight: 500;
}

.eye-line .label {  display: inline-block;    min-width: 50px;    margin-right: 8px; font-weight: bold;    color: #007bff;}

/* Mobile responsiveness */
@media (max-width: 600px) {
    .eye-line {
        flex: 1 1 100%;
    }
}


/* Adding more CSS 12-06-2025 */

cl-prescription-compact {  display: flex;  gap: 10px;  font-family: 'Segoe UI', system-ui, sans-serif; margin: 10px 0; }

.eye-box {  flex: 1;  border-radius: 8px; padding: 8px;  box-shadow: 0 2px 4px rgba(0,0,0,0.05);}

.right-eye {  background: #f0f7ff;  border-left: 4px solid #4a90e2;}

.left-eye {  background: #fff0f6;  border-left: 4px solid #e24a86;}

.eye-header {  font-size: 0.75rem;  font-weight: 600;  text-transform: uppercase; color: #555;  margin-bottom: 6px;  letter-spacing: 0.5px;}

.eye-details {  font-size: 0.9rem;}

.detail-row {  display: flex;  justify-content: space-between;  margin-bottom: 4px; }

.label {      display: block !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #0f1111 !important;
    margin-bottom: 6px !important;
}

.value {  color: #222;  font-weight: 600;}

/* Ultra-compact mobile view */
@media (max-width: 480px) {  .cl-prescription-compact {    flex-direction: column;     gap: 6px;}

  .eye-box {    padding: 6px 8px;  }

  .eye-header {    font-size: 0.7rem;  }

  .eye-details {    font-size: 0.85rem;  }

  .detail-row {    margin-bottom: 2px;  }
}


.prescription-grid {  display: grid;  grid-template-columns: 1fr 1fr;  gap: 12px;  font-family: 'Segoe UI', system-ui, sans-serif; margin: 12px 0;}

.eye-card {  border-radius: 8px;  padding: 10px;  box-shadow: 0 2px 6px rgba(0,0,0,0.08);}

.right-eye {  background: #f8fafc;  border-top: 3px solid #3b82f6;}

.left-eye {
  background: #fef2f2;  border-top: 3px solid #ef4444; }

.eye-header {  font-size: 0.8rem;  font-weight: 700;  color: #374151;  margin-bottom: 8px;  text-transform: uppercase;
  letter-spacing: 0.5px;}

.prescription-details {  display: grid;  gap: 6px;}

.prescription-row {  display: flex;  justify-content: space-between;
  align-items: center;  gap: 8px;}

.metric {  font-size: 0.75rem;  font-weight: 600;  color: #6b7280;  flex: 1;  text-align: center;}

.value {  font-size: 0.9rem;  font-weight: 700;  color: #111827;  flex: 1;  text-align: center;  background: rgba(255,255,255,0.7);
  padding: 4px;  border-radius: 4px;
}

/* Responsive Adjustments */
@media (max-width: 640px) {  .prescription-grid {    grid-template-columns: 1fr;    gap: 8px;}

  .eye-card {    padding: 8px;}

  .prescription-row {    gap: 4px; }

  .metric {    font-size: 0.7rem;}

  .value {    font-size: 0.8rem;    padding: 3px;  }
}

/* Special styling for axis degree symbol */
.value[style*="AXIS"]::after {  content: "°";  font-size: 0.8em;  vertical-align: super;}

.print-button {    text-align: center;    margin-top: 30px;}

.print-button button {    background-color: #007bff;    color: white;    padding: 10px 20px;    font-size: 16px;   border: none;
    border-radius: 6px;    cursor: pointer;}

.print-button button:hover {    background-color: #0056b3;}

/* Optional: Hide button in print view */
@media print {    .print-button {        display: none;    }
}


.share-buttons {    margin-top: 15px;    display: flex;    align-items: center;gap: 10px;}

.share-buttons img {    width: 28px;    height: 28px;    cursor: pointer;}

.fieldset-wrapper {  display: flex;  flex-direction: column;
  gap: 12px;  padding: 10px;}

.option-row {  display: flex;  align-items: center;  justify-content: space-between;
  gap: 10px;  background-color: #f9f9f9;  padding: 8px 12px;  border-radius: 8px;  border: 1px solid #e0e0e0;}

.radio-with-icon {  flex: 1;  font-size: 15px;  display: flex;  align-items: center;  gap: 8px;}

.addon-icon {  position: inherit; width: 24px;  height: 24px;  flex-shrink: 0;}

.no-addon-button {  text-align: center;  margin-top: 10px;}

.no-addon-button button {  background-color: #ff5555;
  color: white;  padding: 8px 16px;  font-size: 14px;  border: none;  border-radius: 6px;  cursor: pointer; }

@media (max-width: 600px) {
  .option-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .addon-icon {
    align-self: flex-end;
  }
}


.addon-lenses-svg { position: inherit; }
.checkout-price-font { font-family: "Gill Sans", sans-serif; font-weight: bolder; }
.blink-delivery { background-color: purple;  color: white;  padding: 8px 12px;  border-radius: 6px;  animation: blinkPurple 3s infinite;
  }

@keyframes blinkPurple {
	0%, 100% {
	opacity: 1;
	}
	50% {
	opacity: 0; 
	}
}

/* 19-06-2025 for feildset biofocals */
 .biofocals-fieldset {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    background-color: #f9f9f9;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  /* Add cursor pointer to images and option containers */
  .option-image {
    cursor: pointer;
    transition: transform 0.2s;
  }

  .option-image:hover {
    transform: scale(1.02);
  }

  .biofocal-option {
    cursor: pointer;
  }

  /* Highlight selected option */
  .biofocal-option.selected {
    border-color: #4a90e2;
    background-color: green ;
}


 .on-cart-images {
  display: flex;
  margin: inherit;
}

 .heading-product-name {
text-align: center;
  padding: 0px;
  margin: 0px;
}






.product_mini {
  animation-duration: 3s;
  animation-name: slide-in;
  animation-iteration-count: inherit;
  display: inline-flex;
  background-color: skyblue;
  font-size: 13px;
  font-size-adjust: 0.5;
  margin: 0px auto;
}

.weight_class {
  margin: 0px; 
}

@keyframes slide-in {
	from {
		translate: 150vw 0;
		scale: 200% 1;
}
to {
	translate: 0 0;
	scale: 100% 1;
}
}



/* New CSS working working 08-11-2025 */

.form-control {
    width: 100% ;
    height: 44px ;
    padding: 8px 12px ;
    border: 1px solid #a6a6a6 ;
    border-radius: 4px ;
    font-size: 14px ;
    background: white ;
    transition: all 0.15s ease ;
}

.form-control:focus {
    outline: none ;
    border-color: #007BFF  ;
    box-shadow: 0 0 0 3px rgba(255, 153, 0, 0.2) ;
}

.form-control::placeholder {
    color: #767676 ;
}

textarea.form-control {
    height: 80px ;
    resize: vertical ;
}


@media (max-width: 480px) {
      .form-control {
        height: 40px ;
        font-size: 16px ;
    }


select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230f1111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}


/* contact us styling 08-11-2025  */
/* Contact Page Specific Styles */
.contact-page {
    background: #f6f6f6;
    min-height: 100vh;
}

.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 16px;
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px 0;
}

.page-title {
    font-size: 32px;
    font-weight: 700;
    color: #0f1111;
    margin-bottom: 8px;
}

.page-subtitle {
    font-size: 16px;
    color: #565959;
    max-width: 600px;
    margin: 0 auto;
}

/* Contact Form Container */
.contact-form-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .contact-form-container {
        grid-template-columns: 2fr 1fr;
    }
}

/* Form Card */
.form-card {
    background: white;
    border-radius: 12px;
    border: 1px solid #ddd;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.form-title {
    font-size: 24px;
    font-weight: 600;
    color: #0f1111;
    margin-bottom: 8px;
}

.form-description {
    color: #565959;
    font-size: 14px;
}

/* Form Styles */
.contact-form {
    width: 100%;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

@media (min-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr 1fr;
    }

    .form-full {
        grid-column: 1 / -1;
    }
}

.form-group {
    margin-bottom: 0;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #0f1111;
    margin-bottom: 8px;
}


/* CAPTCHA Section */
.captcha-section {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.captcha-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.captcha-icon {
    font-size: 16px;
}

.captcha-title {
    font-size: 16px;
    font-weight: 600;
    color: #0f1111;
}

.captcha-description {
    font-size: 14px;
    color: #565959;
    margin-bottom: 16px;
}

.captcha-display {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    padding: 16px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.captcha-image-container {
    flex-shrink: 0;
}

.captcha-image {
    width: 120px;
    height: 60px;
    object-fit: contain;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.captcha-text {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #0f1111;
    background: #f8f9fa;
    padding: 8px 16px;
    border-radius: 4px;
    border: 1px dashed #ddd;
}

/* Contact Info Card */
.contact-info-card {
    background: white;
    border-radius: 12px;
    border: 1px solid #ddd;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    height: fit-content;
}

.info-header {
    margin-bottom: 24px;
    text-align: center;
}

.info-title {
    font-size: 20px;
    font-weight: 600;
    color: #0f1111;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: background 0.15s ease;
}

.info-item:hover {
    background: #e9ecef;
}

.info-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.info-content {
    flex: 1;
}

.info-label {
    font-size: 16px;
    font-weight: 600;
    color: #0f1111;
    margin-bottom: 4px;
}

.info-text {
    font-size: 14px;
    color: #0f1111;
    font-weight: 500;
    margin-bottom: 4px;
}

.info-description {
    font-size: 12px;
    color: #565959;
}

/* Success State */
.success-container {
    max-width: 600px;
    margin: 0 auto;
}

.success-card {
    background: white;
    border-radius: 12px;
    border: 1px solid #ddd;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.success-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.success-title {
    font-size: 24px;
    font-weight: 600;
    color: #0f1111;
    margin-bottom: 20px;
}

.success-message {
    background: #f6ffed;
    border: 1px solid #b7eb8f;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 24px;
    text-align: left;
}

.success-message p {
    margin-bottom: 8px;
    color: #0f1111;
}

.ticket-id {
    font-weight: 700;
    color: #ff9900;
}

.success-info {
    margin-bottom: 30px;
}

.info-alert {
    display: flex;
    gap: 12px;
    background: #e6f7ff;
    border: 1px solid #91d5ff;
    border-radius: 8px;
    padding: 16px;
    text-align: left;
}

.alert-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.alert-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: #0f1111;
    margin-bottom: 8px;
}

.alert-content p {
    font-size: 14px;
    color: #565959;
    margin-bottom: 4px;
}

.success-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 480px) {
    .success-actions {
        grid-template-columns: 1fr 1fr;
    }
}

/* Button Enhancements */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: center;
}

.btn-primary {
    background: #007BFF ;
    color:  #fff;
    border: 1px solid #fcd200;
}

.btn-primary:hover {
    background: #f7ca00;
    border-color: #f2c200;
}

.btn-secondary {
    background: white;
    color: #0f1111;
    border: 1px solid #d5d9d9;
}

.btn-secondary:hover {
    background: #f7f7f7;
}

.btn-block {
    width: 100%;
}

.btn-icon {
    font-size: 18px;
}

/* Responsive Design */
@media (max-width: 767px) {
    .page-container {
        padding: 12px;
    }

    .page-title {
        font-size: 24px;
    }

    .form-card,
    .contact-info-card {
        padding: 20px;
    }

    .captcha-display {
        flex-direction: column;
        text-align: center;
    }

    .captcha-text {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
       .btn {
        padding: 16px 20px;
        font-size: 16px;
    }

    .success-card {
        padding: 24px 16px;
    }
}


/* Flash message styling Nov 25 */
.flash-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
    width: 90%;
}

.alert-dismissible {
    margin-bottom: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 8px;
    min-height: 60px;
    display: flex;
    align-items: center;
}

/* Typewriter specific styles */
.typewriter-text {
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .flash-container {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        width: auto;
    }

    .alert-dismissible {
        font-size: 14px;
        min-height: 50px;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .alert {
        border: 2px solid;
    }
}



/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .typewriter-cursor {
        animation: none;
        opacity: 0;
    }

    .alert-dismissible {
        animation: none;
    }
}
/*end of flash styling */


/* running ribbons nov25*/


/* Classic Announcement Ribbon */
.classic-announcement-ribbon {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.announcement-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.announcement-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.announcement-item {
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.announcement-item:hover {
    opacity: 1;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .classic-announcement-ribbon {
        padding: 10px 0;
    }

    .announcement-content {
        justify-content: center;
        gap: 20px;
    }

    .announcement-item {
        font-size: 13px;
        white-space: normal;
        text-align: center;
        flex: 1;
        min-width: 200px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .announcement-content {
        flex-direction: column;
        gap: 12px;
    }

    .announcement-item {
        min-width: auto;
        white-space: nowrap;
    }

    .announcement-container {
        padding: 0 15px;
    }
}

/* High contrast support */
@media (prefers-contrast: high) {
    .classic-announcement-ribbon {
        background: #000;
        border-bottom: 2px solid #fff;
    }
}

/* end of ribbon nov25*/
