﻿/*@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400&display=swap');*/

:root {
    --primary-color: #6a5acd;
    --secondary-color: #4b0082;
    --gradient-primary: linear-gradient(135deg, #6a5acd 0%, #4b0082 100%);
    --gradient-secondary: linear-gradient(135deg, #8a2be2 0%, #4b0082 100%);
    --text-primary: #2c3e50;
    --text-secondary: #7f8c8d;
}

* {
    box-sizing: border-box;
    transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', Arial, sans-serif;
    background-color: #f4f6fa;
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.5;
    font-weight: 300;
    margin: 0;
    padding: 0;
    text-rendering: optimizeLegibility;
}

.vendorbooks-page-navbar-custom {
    background: linear-gradient(135deg, #3f37c9, #4cd964) !important;
    padding: 0.1rem 0.5rem;
    color: #fff;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    margin: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.vendorbooks-page-brand-custom {
    background: linear-gradient(135deg, #fdfdfd, #eaf7fd); /* Match button-container */
    color: #1e293b !important; /* Dark neutral for contrast */
    font-weight: 600;
    font-size: 1.3rem;
    letter-spacing: -0.5px;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

    .vendorbooks-page-brand-custom i {
        color: #338aff; /* Match button blue */
        margin-right: 8px;
    }


/*
.vendorbooks-page-brand-custom {
    color: white !important;
    font-weight: 600;
    font-size: 1.3rem;
    letter-spacing: -0.5px;
}

    .vendorbooks-page-brand-custom i {
        color: rgba(255, 255, 255, 0.9);
        margin-right: 12px;
    }*/

.vendorbooks-button-btn-custom {
    position: relative;
    z-index: 1;
    overflow: hidden;
    background: linear-gradient(-45deg, #ffa63d, #87cefa, #338aff, #3cf0c5);
    background-size: 600%;
    animation: anime 16s linear infinite;
    color: rgba(255, 255, 255, 0.95) !important;
    border: none;
    border-radius: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

    .vendorbooks-button-btn-custom::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 15px;
        background: linear-gradient(-45deg, #ffa63d, #87cefa, #338aff, #3cf0c5);
        background-size: 600%;
        animation: anime 16s linear infinite;
        filter: blur(30px);
        opacity: 0.8;
        z-index: -1;
    }

    .vendorbooks-button-btn-custom:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
        color: aqua;
    }

@media (max-width: 768px) {
    .vendorbooks-page-navbar-custom {
        padding: 0.6rem 1rem;
    }
}

@keyframes anime {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.vendorbooks-login-bg-custom {
    position: relative;
    z-index: 1;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    animation: floaty-glow 10s ease infinite;
    transition: all 0.4s ease;
    max-width: 400px;
    margin: auto;
}

    .vendorbooks-login-bg-custom::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: conic-gradient(from 0deg, #ffa63d, #87cefa, #338aff, #3cf0c5, #ffa63d);
        animation: rotate-gradient 10s linear infinite;
        z-index: -2;
        opacity: 0.7;
        filter: blur(50px);
    }

    .vendorbooks-login-bg-custom:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }

@keyframes rotate-gradient {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes floaty-glow {
    0%, 100% {
        box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
    }

    50% {
        box-shadow: 0 0 50px rgba(255, 255, 255, 0.2);
    }
}

.vend-pos-tender {
    background: linear-gradient(135deg, #1c1c1e, #0c81ff, #4ade80);
    background-size: 300% 300%;
    animation: gradientFlow 14s ease infinite;
    color: white;
    padding: 1rem;
    border-radius: 10px;
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.vend-pos-navbar {
    background: linear-gradient(135deg, #1c1c1e, #0c81ff, #4ade80);
    background-size: 400% 400%;
    animation: gradientFlow 20s ease infinite;
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateZ(0);
    will-change: background-position;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.gradient-button-container {
    background: linear-gradient(135deg, #b4ccd1, #cee8ce);
    border: 1px solid #c3f0cc;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.gradient-button-container-dark {
    background: linear-gradient(135deg, #1e293b, #3b4252, #e7f9ff20);
    border: 1px solid #4b5563;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    color: #f1f5f9;
}

.gradient-button-container-soft {
    background: linear-gradient(135deg, #e7f9ff, #ccf3e0, #d0f2f9);
    border: 1px solid #b6e6e6;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.button-container {
    background: linear-gradient(135deg, #fdfdfd, #eaf7fd); /* Soft cool white-blue */
    padding: 0.75rem;
    border-radius: 1.25rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    color: #1e293b; /* Dark neutral text */
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    border: 1px solid #d6eaf8;
    margin: 0;
}

.top-navbar-container {
    background: linear-gradient(135deg, #fdfdfd, #eaf7fd); /* Same gradient as button-container */
    padding: 0.75rem 1.5rem;
    border-radius: 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06); /* Slightly lighter shadow for softer tone */
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #d6eaf8; /* Matches button-container border */
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    color: #1e293b; /* Dark text for contrast */
}



.nav-link {
    font-weight: 500;
    padding: 12px 16px;
    margin: 4px 0;
    color: #333;
    display: flex;
    align-items: center;
    border-radius: 6px;
    transition: background 0.3s, color 0.3s;
}

    .nav-link:hover {
        background-color: #eaf4fb;
        color: #41A4CD;
    }

.nav-item.active > .nav-link {
    background-color: #d4eef9;
    color: #0c5a7d;
    font-weight: 600;
}

.nav-icon {
    margin-right: 8px;
    color: inherit;
}
