/* style.css */


    :root {
        --primary: #1A2A4F;   /*VST Dark Blue*/ 
        --secondary: #8fc021;   /*VST Orange */ 
        --accent: #F7F0DA;   /*VST Cream */ 
        --text:  #343a40;    /*White text */ 
    }


/*
:root {
     Light Theme 
    --primary-light: #3e5f90;
    --secondary-light: #FF6B35;
    --bg-light: #FFFFFF;
    --text-light: #333333;

     Dark Theme 
    --primary-dark: #FF6B35;
    --secondary-dark: #1A2A4F;
    --bg-dark: #121212;
    --text-dark: #FFFFFF;

     Default Theme 
    --primary: var(--primary-light);
    --secondary: var(--secondary-light);
    --bg-color: var(--bg-light);
    --text-color: var(--text-light);
}*/

body {
   
    color: var(--text);
    transition: all 0.3s ease;
    background-color:#F7F0DA;
}
/*
[data-theme="dark"] {
    --primary: var(--primary-dark);
    --secondary: var(--secondary-dark);
    --bg-color: var(--bg-dark);
    --text-color: var(--text-dark);
}*/


    #hburger{
        background-color: transparent;
    }
    .main-header {
        background: var(--secondary);
        border-bottom: 3px solid var(--primary);
    }

    .nav-link {
        background: rgba(255,255,255,0.1);
        color: var(--text) !important;
        transition: all 0.3s ease;
        border-radius: 1px;
        position: relative;
    }

    .nav-link:hover {
        background: var(--secondary);
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(255,107,53,0.3);
    }

    .nav-link::before {
        content: '';
        position: absolute;
        bottom: -3px;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--secondary);
        transition: width 0.3s ease;
    }

    .nav-link:hover::before {
        width: 100%;
    }


    .nav-brand:hover .logo {
        transform: scale(1.20);
    }

    .welcome-msg {
        color: var(--accent);
        font-weight: 500;
    }

    /* Mobile Menu */
    @media (max-width: 768px) {
        .nav-links {
            background: var(--primary);
        }
        
        .nav-link {
            background: rgba(255,255,255,0.05);
        }
    }

    /* Button Enhancements */
    .btn-logout {
        background: rgba(255,107,53,0.1) !important;
        border: 1px solid var(--secondary);
    }

    .btn-logout:hover {
        background: var(--secondary) !important;
        color: var(--primary) !important;
    }




/* Add to top of style.css */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/*body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    line-height: 1.6;
}*/


.business-card {
    perspective: 1000px;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.business-card:hover {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    backface-visibility: hidden;
    position: absolute;
    width: 100%;
    height: 100%;
}

.card-back {
    transform: rotateY(180deg);
}

/* Auth Layout */
.auth-container {
    display: flex;
    min-height: 100vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem;
}

.auth-card {
    background: white;
    max-width: 440px;
    margin: auto;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.auth-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-title {
    font-size: 1.8rem;
    color: #2d3436;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.auth-subtitle {
    color: #636e72;
    font-size: 0.9rem;
}

/* Form Elements */
.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-label {
    display: block;
    color: #2d3436;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.form-input {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 2.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #6c5ce7;
    box-shadow: 0 0 0 3px rgba(108,92,231,0.1);
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #636e72;
}

/* Button Styles */
.auth-button {
    width: 100%;
    padding: 1rem;
    background: #6c5ce7;
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.auth-button:hover {
    background: #5b4bc4;
}

.button-icon {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.auth-button:hover .button-icon {
    transform: translateX(3px);
}

/* Footer Links */
.auth-footer {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
    color: #636e72;
}

.auth-link {
    color: #6c5ce7;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.auth-link:hover {
    color: #5b4bc4;
}


/* Header Styles */
.main-header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    max-width: 100%;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content:space-evenly;
    align-items: center;
   
}

/*.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4a9375;
    font-size: 1.5rem;
    text-decoration: none;
    font-weight: 600;
    max-height: 200px;
}*/

/*.logo i {
    font-size: 2rem;
}*/

.nav-menu {
    display: flex;
    gap: 1rem;
    list-style: none;
}

.nav-menu a {
    color: #5a6d73;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.2rem;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #4a9375;
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    color: #4a9375;
    cursor: pointer;
}

/* Footer Styles */
.main-footer {
    background: transparent;
    padding: 3rem 2rem 1rem;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
  
}

.footer-section {
    margin-bottom: 2rem;
}

.footer-title {
    color:blue;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-text {
     color:black;
    line-height: 1.6;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
     color:black;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
  color:black;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
 color:black;
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 0 0;
    margin-top: 2rem;
    border-top: 1px solid #e9ecef;
   color:black;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .mobile-menu {
        display: block;
    }
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animated {
    animation-duration: 0.6s;
    animation-fill-mode: both;
}

.fadeIn {
    animation-name: fadeIn;
}




/*new login*/

/*body {
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
content-wrapper
*/
.content-wrapper{
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: all 0.3s ease;
    
    
}
.container {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 1000px;
    transform: translateY(0);
    opacity: 1;
}

.animate-form {
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

input, select, button {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border: 2px solid #ddd;
    border-radius: 8px;
    transition: all 0.3s ease;
}

input:focus, select:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 8px rgba(74, 144, 226, 0.3);
}

button {
      box-shadow: 0 0 8px rgba(74, 144, 226, 0.3);
    background: #5bc6be;
    color: black;
    font-weight: bold;
    cursor: pointer;
    border: none;
}

button:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.alert {
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.error {
    background: #ffebe6;
    border: 1px solid var(--error);
    color: var(--error);
}

.success {
    background: #e6f4ea;
    border: 1px solid var(--success);
    color: var(--success);
}


/* Add these styles to existing CSS */
.users-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.users-table th, .users-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.users-table tr:hover {
    background-color: #f5f5f5;
}

.btn {
    display: inline-block;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    margin: 2px;
}

.edit {
    background: #ffc107;
    color: #333;
}

.delete {
    background: #dc3545;
    color: white;
}

/*.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
}*/



.password-strength {
    margin: 5px 0;
    height: 4px;
    background: #ddd;
    border-radius: 2px;
    overflow: hidden;
}

.password-strength::before {
    content: '';
    display: block;
    width: 0;
    height: 100%;
    background: var(--primary);
    transition: width 0.3s ease;
}

input[type="password"]:focus ~ .password-strength::before {
    width: 100%;
}



/* Profile Styles */
.profile-card {
    max-width: 800px;
    padding: 2rem;
    /*background: white;*/
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}

.profile-header {
    text-align: center;
    margin-bottom: 2rem;
}

.company-logo {
    max-width: 200px;
    max-height: 200px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.profile-section {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f9f9f9;
    border-radius: 10px;
}

.profile-section h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.contact-info ul {
    list-style: none;
    padding: 0;
}

.contact-info li {
    margin: 0.5rem 0;
    padding: 0.8rem;
    background: #f5f5f5;
    border-radius: 8px;
}

.contact-info i {
    margin-right: 10px;
    width: 20px;
    color: var(--primary);
}

.profile-logo-preview {
    max-width: 100px;
    display: block;
    margin-bottom: 1rem;
}

/* Form enhancements */
textarea {
    min-height: 100px;
    resize: vertical;
}

.form-group {
    margin: 1rem 0;
}


.qrcode-section {
    text-align: center;
    margin: 2rem 0;
    padding: 1.5rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.qrcode-image {
    width: 150px;
    height: 150px;
    margin: 1rem auto;
    padding: 10px;
    background: white;
    border-radius: 10px;
    border: 2px solid var(--primary);
}

.btn.vcard-btn {
    background: #3b5998;
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn.vcard-btn:hover {
    background: #2d4373;
}

/* Ensure the QR code container is visible */
.qrcode-image {
    display: block;
    margin: 20px auto;
    width: 200px;
    height: 200px;
    border: 1px solid #ddd;
    padding: 10px;
}


/* Landing Page Styles */
.landing-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    background-color:#ffebe6;
}

.hero {
    display: flex;
    gap: 3rem;
    align-items: center;
    padding: 4rem 0;
}

.hero-content {
    flex: 1;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.tagline {
    font-size: 1.2rem;
    color: #666;
    margin: 1.5rem 0;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--primary);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    background: #f8f9fa;
}

.stat-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.comparison {
    display: flex;
    gap: 2rem;
    margin: 4rem 0;
}

.comparison-card {
    flex: 1;
    padding: 2rem;
    border-radius: 15px;
}

.comparison-card.physical {
    background: #fff0f0;
    border: 2px solid #ff4444;
}

.comparison-card.digital {
    background: #f0fff4;
    border: 2px solid #50c878;
}

.comparison-card ul {
    list-style: none;
    padding: 0;
}

.comparison-card li {
    margin: 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-section {
    text-align: center;
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 15px;
    margin: 4rem 0;
}

.benefits-list {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0;
}

.benefit {
    text-align: center;
}

.benefit i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Animations */
@keyframes qr-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.qr-pulse {
    animation: qr-pulse 2s infinite;
    max-height: 300px;
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out;
}

.animate-fade-in {
    animation: fadeIn 1s ease-in;
}




.nav-links {
    display: flex;
    /*gap: .5rem;*/
    align-items:start;
    padding:10px;
}

.nav-link {
    text-decoration: none;
    color: black;
    padding: 1px 2px;
    border-radius: 1px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    border: none;
    font-weight: 600;
    background: var(--primary);
    box-shadow: 0 4px 0 color-mix(in srgb, var(--primary) 80%, black),
                0 6px 12px rgba(0,0,0,0.1);
    transform: translateY(0);
    display: inline-block;
}

.nav-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 0 color-mix(in srgb, var(--primary) 80%, black),
                0 8px 16px rgba(0,0,0,0.2);
    filter: brightness(105%);
}

.nav-link:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 color-mix(in srgb, var(--primary) 80%, black);
}

/* Active state styling */
.nav-link.active {
    background: color-mix(in srgb, var(--primary) 90%, black);
    box-shadow: inset 0 4px 4px rgba(255,255,255,0.2),
                inset 0 -4px 4px rgba(0,0,0,0.1);
}

/* Optional: Different color variations */
.nav-link.btn-success {
    background: var(--success);
    box-shadow: 0 4px 0 color-mix(in srgb, var(--success) 80%, black);
}

.nav-link.btn-error {
    background: var(--error);
    box-shadow: 0 4px 0 color-mix(in srgb, var(--error) 80%, black);
}

/* Add depth effect using pseudo-element */
.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 8px;
    box-shadow: inset 0 -2px 4px rgba(255,255,255,0.2);
    mix-blend-mode: overlay;
    pointer-events: none;
}



/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 60px;
        right: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        gap: 0;
        padding: 1rem;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease-out;
        z-index: 999;
        backdrop-filter: blur(10px);
    }

    .nav-links.active {
        transform: translateY(0);
    }
    a.nav-link{
        
    }
    .nav-link {
        width: 100%;
        text-align: center;
        margin: 8px 0;
        box-shadow: 0 3px 0 color-mix(in srgb, var(--primary) 80%, black);
      
    }

    .nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 40px;
        height: 40px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1000;
        padding: 5px;
    }

    .hamburger {
        width: 30px;
        height: 5px;
        background: black;
        border-radius: 3px;
        transition: all 0.3s ease;
        position: relative;
    }

    /* Animate hamburger to X */
    .nav-toggle.active .hamburger:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .nav-toggle.active .hamburger:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .hamburger:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    /* Hide toggle on desktop */
    @media (min-width: 769px) {
        .nav-toggle {
            display: none;
        }
    }

}

/*Search bar*/

.search-container {
    flex: 2;
    max-width: 100%;
    /*margin: 200px 200px;*/
}

.search-container form {
    display: flex;
    gap: 10px;
}

.search-container input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid var(--primary);
    border-radius: 30px;
    background: rgba(255,255,255,0.1);
    color: var(--text-color);
}

.search-results {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.result-card {
    background: var(--bg-color);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.result-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.result-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.services {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: 8px;
}

.alert.info {
    background: rgba(var(--primary-rgb), 0.1);
    border-color: var(--primary);
    color: var(--text-color);
}


/* Ticket System Styles */
.ticket-list {
    display: grid;
    gap: 1.5rem;
}

.ticket-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    position: relative;
}

.ticket-status {
    float: right;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: bold;
}

.status-pending { background: #fff3cd; color: #856404; }
.status-approved { background: #d4edda; color: #155724; }
.status-rejected { background: #f8d7da; color: #721c24; }

.ticket-header {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #eee;
}

.ticket-actions {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid #eee;
}

.search-results {
    position: absolute;
    background: white;
    border: 1px solid #ddd;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
}

.search-results div {
    padding: 10px;
    cursor: pointer;
}

.search-results div:hover {
    background: #f8f9fa;
}
.loading, .no-results, .error {
    padding: 10px;
    color: #666;
    font-style: italic;
}

.error {
    color: #ff4444;
}

.result-item {
    padding: 10px;
    cursor: pointer;
    transition: background 0.2s;
}

.result-item:hover {
    background: #f5f5f5;
}




.ticket-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.ticket-table th, .ticket-table td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: left;
}

.status-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.9em;
}

.status-open { background: #fff3cd; color: #856404; }
.status-assigned { background: #cfe2ff; color: #052c65; }
.status-resolved { background: #d1e7dd; color: #0a3622; }
.status-closed { background: #f8d7da; color: #58151c; }

.total-row {
    font-weight: bold;
    background: #f8f9fa;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
}

.modal-content {
    background: white;
    margin: 15% auto;
    padding: 20px;
    width: 50%;
    border-radius: 8px;
}