/*
############################################################################

  (c) Copyright 2025 GreenGrid Energy Storage Inc.
  All rights reserved.
 
  This source code belongs to GreenGrid Energy Storage Inc.
  It is considered trade secret and confidential, and is not to be used
  by parties who have not received written authorization
  from GreenGrid Energy Storage Inc.
 
  Only authorized users are allowed to use, copy and modify
  this software provided that the above copyright notice
  remains in all copies of this software.

############################################################################

 Main stylesheet for GreenGrid Energy Storage Experiment Tracker Flask application
 Provides comprehensive styling for all application templates and components
 Includes responsive design, form styling, and GreenGrid corporate branding

############################################################################
*/

/* Base styles */
:root {
    --primary-color: #4a5d4a;
    --secondary-color: #2e8b57;
    --accent-color: #e74c3c;
    --background-color: #f5f6fa;
    --text-color: #2c3e50;
    --border-color: #dcdde1;
    --success-color: #27ae60;
    --warning-color: #f1c40f;
    --error-color: #e74c3c;
    --nav-height: 60px;
    --nav-expanded-height: 700px;
    --sidebar-width: 60px;
    --sidebar-expanded-width: 250px;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    min-height: 100vh;
}

/* Top Navigation */
.top-nav {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: white;
    transition: all 0.3s ease;
    height: var(--nav-height);
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.top-nav.expanded {
    height: var(--nav-expanded-height);
    overflow-y: auto;
}

.nav-header {
    height: var(--nav-height);
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: white;
    position: sticky;
    top: 0;
    z-index: 2;
}

.nav-brand {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: bold;
}

.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    position: relative;
}

.hamburger-line {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 3px 0;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Transform hamburger to X when expanded */
.top-nav.expanded .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.top-nav.expanded .hamburger-line:nth-child(2) {
    opacity: 0;
}

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

/* Navigation */
.main-nav {
    padding: 0.5rem 2rem;
    background-color: white;
    border-top: 1px solid var(--border-color);
}

.nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0;
    margin: 0;
}

.nav-section {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.75rem;
    margin-bottom: 0.75rem;
}

.nav-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.section-title {
    display: block;
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    padding: 0.5rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.sub-nav {
    list-style: none;
    padding-left: 1rem;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.sub-nav li {
    margin: 0;
}

.nav-links a {
    color: var(--primary-color);
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    display: block;
    font-size: 1rem;
    transition: all 0.3s;
    border-radius: 4px;
    border-left: 3px solid transparent;
}

.nav-links a:hover {
    color: var(--secondary-color);
    background-color: rgba(46, 139, 87, 0.1);
    border-left-color: var(--secondary-color);
}



/* Main Content */
.main-content {
    padding: calc(var(--nav-height) + 2rem) 2rem 2rem;
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
    padding: 0.75rem 0;
}

.breadcrumb-container {
    padding-left: 0;
}

.breadcrumb {
    list-style: none;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    font-size: 0.875rem;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item a {
    color: var(--secondary-color);
    text-decoration: none;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.breadcrumb-item a:hover {
    background-color: rgba(46, 139, 87, 0.1);
    text-decoration: none;
}

.breadcrumb-item.active span {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.25rem 0.5rem;
}

.breadcrumb-separator {
    color: var(--border-color);
    margin: 0 0.5rem;
    font-weight: bold;
    user-select: none;
}

/* Sidebar */
.sidebar {
    width: var(--sidebar-width);
    background-color: var(--primary-color);
    color: white;
    transition: width 0.3s ease;
    overflow: hidden;
    position: fixed;
    height: 100vh;
    z-index: 1000;
}

.sidebar.expanded {
    width: var(--sidebar-expanded-width);
}

.sidebar-header {
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-brand {
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar.expanded .nav-brand {
    opacity: 1;
}

/* Page Header */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.page-header h1 {
    color: var(--primary-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(52, 152, 219, 0.2);
    border-radius: 6px;
}

.btn-primary:hover {
    background-color: #2980b9;
    color: white;
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
}

.btn-secondary {
    background-color: #ecf0f1;
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
}

.btn-secondary:hover {
    background-color: #dfe6e9;
    color: var(--primary-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-small {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

/* Page Header specific button styling */
.page-header .btn-primary {
    padding: 0.85rem 2rem;
    font-size: 1.15rem;
    letter-spacing: 0.5px;
}

/* Forms */
.form-container {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-section {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

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

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 500;
}

tr:hover {
    background-color: #f8f9fa;
}

/* Results Comparison */
.result-comparison {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.expected {
    color: var(--primary-color);
    font-size: 0.875rem;
}

.actual {
    color: var(--secondary-color);
    font-weight: 500;
}

/* Links */
.mixture-links,
.result-links {
    list-style: none;
    padding: 0;
}

.mixture-links li,
.result-links li {
    margin-bottom: 0.25rem;
}

.mixture-links a,
.result-links a {
    color: var(--secondary-color);
    text-decoration: none;
}

.mixture-links a:hover,
.result-links a:hover {
    text-decoration: underline;
}

/* Flash Messages */
.flash-messages {
    margin-bottom: 1rem;
}

.flash-message {
    padding: 1rem;
    border-radius: 4px;
    background-color: var(--success-color);
    color: white;
    margin-bottom: 0.5rem;
    border-left: 4px solid transparent;
}

/* Flash message category styles */
.flash-success {
    background-color: var(--success-color);
    border-left-color: #1e7e34;
}

.flash-error {
    background-color: var(--error-color);
    border-left-color: #bd2130;
}

.flash-warning {
    background-color: var(--warning-color);
    color: var(--text-color);
    border-left-color: #e0a800;
}

.flash-info {
    background-color: #17a2b8;
    border-left-color: #117a8b;
}

/* Materials page specific styling */
.materials-list,
.table-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.action-buttons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.btn-delete {
    background-color: var(--error-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.875rem;
}

.btn-delete:hover {
    background-color: #c82333;
}

.no-data {
    text-align: center;
    color: #6c757d;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Dashboard page specific styling */
.dashboard {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.stat-card h3 {
    color: var(--primary-color);
    margin: 0 0 10px 0;
}

.stat-number {
    font-size: 2em;
    font-weight: bold;
    color: var(--secondary-color);
    margin: 10px 0;
}

.recent-results {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.recent-results h2 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 20px;
}

/* Authentication Styles */
.auth-body {
    background: linear-gradient(135deg, var(--background-color) 0%, #e8f4f8 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-container {
    width: 100%;
    max-width: 800px !important;
}

.auth-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 50px 60px;
    text-align: center;
    width: 100%;
}

.auth-header h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin: 0 0 10px 0;
}

.auth-header p {
    color: #6c757d;
    margin: 0 0 30px 0;
    font-size: 1.1rem;
}

.auth-form {
    text-align: left;
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form label {
    display: block;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 8px;
}

.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="text"] {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1.1rem;
    transition: border-color 0.3s ease;
    min-width: 400px;
}

.auth-form input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(46, 139, 87, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.auth-btn {
    width: 100%;
    padding: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    margin-top: 10px;
}

.auth-footer {
    margin-top: 25px;
    text-align: center;
}

.auth-footer p {
    color: #6c757d;
    margin: 0;
}

.auth-footer a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* User Navigation */
.nav-user {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: auto;
    margin-right: 20px;
}

.user-greeting {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.95rem;
}

.user-profile,
.user-logout {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 6px 12px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.user-profile:hover,
.user-logout:hover {
    background-color: rgba(46, 139, 87, 0.1);
    text-decoration: none;
}

/* Profile Page */
.profile-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.profile-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.profile-info {
    background: var(--background-color);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.profile-info h2 {
    color: var(--primary-color);
    margin: 0 0 15px 0;
}

.profile-info p {
    margin: 8px 0;
    color: var(--text-color);
}

.profile-form .form-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.profile-form .form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

.profile-form h3 {
    color: var(--primary-color);
    margin: 0 0 20px 0;
    font-size: 1.3rem;
}

.profile-form small {
    display: block;
    color: #6c757d;
    margin-top: 5px;
    font-size: 0.875rem;
}

/* Email Verification Styles */
.verification-info {
    background-color: #e8f4f8;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    text-align: center;
    border-left: 4px solid var(--secondary-color);
}

.verification-info p {
    margin: 8px 0;
    color: var(--text-color);
}

.verification-info strong {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.verification-input {
    text-align: center;
    font-size: 1.5rem !important;
    letter-spacing: 0.3em;
    font-weight: bold;
    color: var(--primary-color);
}

.btn-link {
    background: none;
    border: none;
    color: var(--secondary-color);
    text-decoration: underline;
    cursor: pointer;
    font-size: 0.95rem;
    padding: 5px 10px;
}

.btn-link:hover {
    color: #1e6b47;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .page-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .form-actions {
        flex-direction: column;
    }

    table {
        display: block;
        overflow-x: auto;
    }
    
    .nav-user {
        flex-direction: column;
        gap: 8px;
        margin-right: 10px;
    }
    
    .user-greeting {
        font-size: 0.85rem;
    }
    
    .auth-card {
        padding: 30px 20px;
    }
}

/* Welcome Section */
.welcome-section {
    text-align: center;
    padding: 3rem 0;
}

.welcome-section h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.subtitle {
    color: var(--text-color);
    font-size: 1.2rem;
    margin-bottom: 3rem;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

/* Search Components */
.breadcrumb-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
}

.search-container {
    position: relative;
    min-width: 300px;
}

.search-wrapper {
    position: relative;
}

.search-input {
    width: 100%;
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.9rem;
    background-color: white;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(46, 139, 87, 0.2);
}

.search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
    margin-top: 4px;
}

.search-results {
    padding: 0.5rem 0;
}

.search-section {
    padding: 0.5rem 1rem;
}

.search-section:not(:last-child) {
    border-bottom: 1px solid var(--border-color);
}

.search-section h4 {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-item {
    display: block;
    padding: 0.5rem 0.75rem;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 4px;
    margin-bottom: 0.25rem;
    transition: background-color 0.2s ease;
    font-size: 0.9rem;
}

.search-item:hover {
    background-color: rgba(46, 139, 87, 0.1);
    color: var(--secondary-color);
}

.search-item .item-title {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.search-item .item-details {
    font-size: 0.8rem;
    color: #666;
}

.search-item .item-number {
    color: var(--secondary-color);
    font-weight: 500;
}

.no-results {
    padding: 1rem;
    text-align: center;
    color: #666;
    font-style: italic;
}

/* Responsive adjustments for search */
@media (max-width: 768px) {
    .breadcrumb-container {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .search-container {
        min-width: auto;
    }
    
    .search-input {
        font-size: 1rem;
        padding: 0.75rem 1rem;
    }
}

/* Search Results Page */
.search-results-page {
    max-width: 1200px;
    margin: 0 auto;
}

.search-summary {
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 2rem;
}

.summary-stats {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.stat-item {
    font-size: 1.1rem;
    color: var(--text-color);
}

.stat-item strong {
    color: var(--secondary-color);
    font-size: 1.3rem;
}

.search-section {
    margin-bottom: 3rem;
}

.search-section h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--secondary-color);
}

.materials-grid,
.batches-grid,
.cookies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.material-card,
.batch-card,
.cookie-card {
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.material-card:hover,
.batch-card:hover,
.cookie-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.material-header,
.batch-header,
.cookie-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.material-header h3,
.batch-header h3,
.cookie-header h3 {
    margin: 0;
    font-size: 1.3rem;
    flex: 1;
}

.material-header h3 a,
.batch-header h3 a,
.cookie-header h3 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.material-header h3 a:hover,
.batch-header h3 a:hover,
.cookie-header h3 a:hover {
    color: var(--secondary-color);
}

.material-number,
.batch-number,
.cookie-info {
    background-color: var(--secondary-color);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-left: 1rem;
}

.material-details,
.batch-details,
.cookie-details {
    margin-bottom: 1.5rem;
}

.material-details p,
.batch-details p,
.cookie-details p {
    margin: 0.5rem 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

.material-details strong,
.batch-details strong,
.cookie-details strong {
    color: var(--primary-color);
}

.material-actions,
.batch-actions,
.cookie-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

.no-results-message {
    text-align: center;
    padding: 3rem 1rem;
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.no-results-message h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.no-results-message p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #666;
}

.suggestions {
    text-align: left;
    max-width: 400px;
    margin: 0 auto 2rem;
}

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

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

.suggestions li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    color: #666;
}

.suggestions li:last-child {
    border-bottom: none;
}

.suggestions li:before {
    content: "•";
    color: var(--secondary-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

.search-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive adjustments for search results */
@media (max-width: 768px) {
    .materials-grid,
    .batches-grid,
    .cookies-grid {
        grid-template-columns: 1fr;
    }
    
    .summary-stats {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .material-header,
    .batch-header,
    .cookie-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .material-number,
    .batch-number,
    .cookie-info {
        margin-left: 0;
        align-self: flex-start;
    }
    
    .search-actions {
        flex-direction: column;
        align-items: center;
    }
}

/* Search term highlighting */
.search-highlight {
    background-color: #ffeb3b;
    color: #000;
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: bold;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    animation: highlight-fade 2s ease-in-out;
}

@keyframes highlight-fade {
    0% {
        background-color: #ffeb3b;
        transform: scale(1.05);
    }
    50% {
        background-color: #fff59d;
        transform: scale(1.02);
    }
    100% {
        background-color: #ffeb3b;
        transform: scale(1);
    }
}

/* Ensure highlighted text is readable in different contexts */
.material-details .search-highlight,
.batch-details .search-highlight {
    background-color: #ffeb3b !important;
    color: #000 !important;
}

.page-header .search-highlight {
    background-color: #ffeb3b !important;
    color: #000 !important;
}

.description-content .user-value {
    white-space: pre-line;
} 

/* Home Page Styles */
.home-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.home-page .page-header {
    text-align: center;
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.home-page .page-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin: 0;
}

.home-page .subtitle {
    font-size: 1.2rem;
    color: #666;
    font-weight: 300;
    margin: 0;
}

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

.tool-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.tool-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--secondary-color);
}

.tool-icon {
    font-size: 3rem;
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(74, 93, 74, 0.3);
}

.tool-content {
    flex: 1;
}

.tool-content h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.tool-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.tool-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.feature-tag {
    background: var(--background-color);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
}

.tool-card .btn-primary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.tool-card .btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.tool-card .btn-primary.disabled {
    background: #ccc;
    color: #666;
    cursor: not-allowed;
    transform: none;
}

.tool-card .btn-primary.disabled:hover {
    background: #ccc;
    transform: none;
}

.quick-stats {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

.quick-stats h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.5rem;
}

.stats-row {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #666;
    font-size: 1rem;
    font-weight: 500;
}

/* Responsive adjustments for home page */
@media (max-width: 768px) {
    .home-page {
        padding: 1rem;
    }
    
    .home-page .page-header h1 {
        font-size: 2rem;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .tool-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .tool-icon {
        align-self: center;
    }
    
    .stats-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1rem;
        border-bottom: 1px solid var(--border-color);
    }
    
    .stat-item:last-child {
        border-bottom: none;
    }
} 

/* Certificate Management Styles */
.certificates-overview {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.certificates-overview .page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.certificates-overview .page-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.certificates-overview .page-header,
.ca-certificates .page-header,
.server-certificates .page-header,
.client-certificates .page-header,
.add-ca-certificate .page-header,
.add-server-certificate .page-header,
.add-client-certificate .page-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.certificates-overview .page-header h1,
.ca-certificates .page-header h1,
.server-certificates .page-header h1,
.client-certificates .page-header h1,
.add-ca-certificate .page-header h1,
.add-server-certificate .page-header h1,
.add-client-certificate .page-header h1 {
    margin: 0;
}

.certificates-overview .subtitle,
.ca-certificates .subtitle,
.server-certificates .subtitle,
.client-certificates .subtitle,
.add-ca-certificate .subtitle,
.add-server-certificate .subtitle,
.add-client-certificate .subtitle {
    font-size: 1.2rem;
    color: #666;
    font-weight: 300;
    margin: 0;
    text-align: center;
}

.certificates-overview .quick-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

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

.certificates-overview .stat-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    text-align: center;
}

.certificates-overview .stat-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.certificates-overview .stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    display: block;
}

.certificates-overview .stat-description {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.recent-certificates {
    display: grid;
    gap: 2rem;
}

.certificate-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

.certificate-section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.certificate-list {
    display: grid;
    gap: 1rem;
}

.certificate-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--background-color);
    transition: all 0.3s ease;
}

.certificate-item:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cert-info h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.cert-info p {
    margin: 0.25rem 0;
    color: #666;
    font-size: 0.9rem;
}

.cert-info strong {
    color: var(--text-color);
}

.cert-actions {
    display: flex;
    gap: 0.5rem;
}

.no-certificates {
    text-align: center;
    padding: 3rem;
}

.empty-state {
    max-width: 400px;
    margin: 0 auto;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

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

.empty-state p {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Certificate Tables */
.ca-certificates,
.server-certificates,
.client-certificates {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.certificates-table {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

.certificates-table table {
    width: 100%;
    border-collapse: collapse;
}

.certificates-table th {
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
}

.certificates-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    vertical-align: top;
}

.certificates-table tr:hover {
    background: var(--background-color);
}

.certificate-row.expired {
    background: #fff5f5;
    opacity: 0.8;
}

.cert-name strong {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.cert-notes {
    color: #666;
    font-size: 0.85rem;
    margin-top: 0.25rem;
    font-style: italic;
}

.expiry-date.expiring-soon {
    color: #f39c12;
    font-weight: 600;
}

.expiry-warning {
    color: #e74c3c;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 0.25rem;
}

.status-valid {
    background: var(--success-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-expired {
    background: var(--error-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.cert-count {
    background: var(--secondary-color);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.cert-details {
    margin-top: 0.5rem;
}

.mini-cert {
    background: var(--background-color);
    color: var(--primary-color);
    padding: 0.2rem 0.5rem;
    border-radius: 8px;
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
    border: 1px solid var(--border-color);
}

.ca-info,
.server-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.ca-link,
.server-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
}

.ca-link:hover,
.server-link:hover {
    text-decoration: underline;
}

.ca-details small,
.server-details small {
    color: #666;
    font-size: 0.8rem;
}

.no-server {
    color: #999;
    font-style: italic;
    font-size: 0.9rem;
}

.cert-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.btn-small {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
}

/* Certificate Forms */
.add-ca-certificate,
.add-server-certificate,
.add-client-certificate {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.form-container {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

.certificate-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-section {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 2rem;
}

.form-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.form-section h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input[type="file"] {
    padding: 0.75rem;
    background-color: white;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    color: var(--text-color);
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.form-group input[type="file"]:hover {
    border-color: var(--secondary-color);
    background-color: #f8f9fa;
    box-shadow: 0 0 0 3px rgba(46, 139, 87, 0.1);
}

.form-group input[type="file"]:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(46, 139, 87, 0.2);
}

.form-group input[type="file"]:disabled {
    background-color: #f8f9fa;
    color: #6c757d;
    cursor: not-allowed;
    opacity: 0.6;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(46, 139, 87, 0.1);
}

.form-group small {
    color: #666;
    font-size: 0.85rem;
    font-style: italic;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.no-ca-warning,
.no-server-warning {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
    padding: 1rem;
    border-radius: 6px;
    margin-top: 0.5rem;
}

.no-ca-warning a,
.no-server-warning a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
}

.no-ca-warning a:hover,
.no-server-warning a:hover {
    text-decoration: underline;
}

/* Responsive adjustments for certificate pages */
@media (max-width: 768px) {
    .certificates-overview,
    .ca-certificates,
    .server-certificates,
    .client-certificates,
    .add-ca-certificate,
    .add-server-certificate,
    .add-client-certificate,
    .upload-client-csr {
        padding: 1rem;
    }
    
    .certificates-overview .page-header h1 {
        font-size: 2rem;
    }
    
    .certificates-overview .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .certificates-overview .quick-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .certificate-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .cert-actions {
        align-self: stretch;
        justify-content: center;
    }
    
    .certificates-table {
        overflow-x: auto;
    }
    
    .certificates-table table {
        min-width: 800px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .form-actions .btn-primary,
    .form-actions .btn-secondary {
        text-align: center;
    }
} 

/* CSR Upload Styles */
.upload-client-csr {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

/* Enhanced file input styling for CSR upload */
.upload-client-csr input[type="file"] {
    display: block;
    width: 100%;
    padding: 1rem;
    background-color: white;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    color: var(--text-color);
    transition: all 0.3s ease;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}

.upload-client-csr input[type="file"]:hover {
    border-color: var(--secondary-color);
    background-color: #f8f9fa;
    box-shadow: 0 0 0 3px rgba(46, 139, 87, 0.1);
    transform: translateY(-1px);
}

.upload-client-csr input[type="file"]:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(46, 139, 87, 0.2);
}

.upload-client-csr input[type="file"]:active {
    transform: translateY(0);
}

/* Ensure file input is not disabled or grayed out */
.upload-client-csr input[type="file"]:not(:disabled) {
    opacity: 1;
    color: var(--text-color);
    background-color: white;
}

/* File input label styling */
.upload-client-csr label[for="csr_file"] {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
}

/* Debug styles to ensure file input is visible */
.upload-client-csr input[type="file"] {
    /* Force visibility */
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
    position: relative !important;
    z-index: 10 !important;
    
    /* Ensure it's clickable */
    pointer-events: auto !important;
    cursor: pointer !important;
    
    /* Make sure it's not hidden */
    clip: auto !important;
    clip-path: none !important;
    -webkit-clip-path: none !important;
    
    /* Ensure proper sizing */
    width: 100% !important;
    height: auto !important;
    min-height: 48px !important;
    
    /* Ensure proper colors */
    background-color: white !important;
    color: var(--text-color) !important;
    border: 2px solid var(--border-color) !important;
}

/* Override any potential disabled styles */
.upload-client-csr input[type="file"]:not([disabled]) {
    background-color: white !important;
    color: var(--text-color) !important;
    opacity: 1 !important;
    cursor: pointer !important;
}

.csr-upload-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.csr-info-box {
    background: #e8f5e8;
    border: 1px solid #c3e6c3;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.csr-info-box h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.csr-info-box ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.csr-info-box li {
    margin-bottom: 0.5rem;
}

.csr-info-box p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.csr-instructions {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    margin-top: 2rem;
}

.csr-instructions h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.code-block {
    background: #f8f9fa;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.code-block h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.code-block pre {
    background: #2d3748;
    color: #e2e8f0;
    padding: 1rem;
    border-radius: 4px;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.4;
}

.code-block code {
    font-family: 'Courier New', monospace;
}

.no-key-info {
    color: #666;
    font-size: 0.85rem;
    font-style: italic;
    background: #f8f9fa;
    padding: 0.5rem;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

.info-text {
    color: #666;
    font-style: italic;
    background: #e8f4fd;
    padding: 1rem;
    border-radius: 6px;
    border-left: 4px solid #3498db;
    margin: 0;
}

/* Delete Button Styles */
.btn-danger {
    background-color: var(--error-color);
    color: white;
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: background-color 0.3s ease;
}

.btn-danger:hover {
    background-color: #c0392b;
}

.btn-danger:disabled {
    background-color: #bdc3c7;
    cursor: not-allowed;
}

/* Modal Styles */
.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

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

.modal-header h3 {
    margin: 0;
    color: var(--primary-color);
}

.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close:hover,
.close:focus {
    color: var(--error-color);
}

.modal-body {
    padding: 1.5rem;
}

.modal-body p {
    margin-bottom: 1rem;
    line-height: 1.5;
}

.warning-text {
    color: var(--error-color);
    font-weight: 600;
    background-color: #fdf2f2;
    padding: 1rem;
    border-radius: 4px;
    border-left: 4px solid var(--error-color);
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.modal-footer button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.modal-footer .btn-secondary {
    background-color: #6c757d;
    color: white;
}

.modal-footer .btn-secondary:hover {
    background-color: #5a6268;
}

.modal-footer .btn-danger {
    background-color: var(--error-color);
    color: white;
}

.modal-footer .btn-danger:hover {
    background-color: #c0392b;
}

/* Responsive modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 1rem;
    }
    
    .modal-footer {
        flex-direction: column;
    }
    
    .modal-footer button {
        width: 100%;
    }
}