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

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Animated Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.3) 0%, transparent 50%);
    animation: backgroundShift 30s ease-in-out infinite;
    z-index: -1;
    will-change: transform;
}

@keyframes backgroundShift {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.05) rotate(0.5deg); }
}

/* Motivational Elements */
.motivational-quote {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 1rem;
    color: white;
    font-size: 0.9rem;
    font-style: italic;
    max-width: 300px;
    z-index: 100;
    animation: fadeInUp 1s ease-out 2s both;
    transform: translateZ(0);
}

.motivational-quote .quote-text {
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.motivational-quote .quote-author {
    font-size: 0.8rem;
    opacity: 0.8;
    text-align: right;
}

/* Electric Board Effect */
.electric-board {
    position: fixed;
    top: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #00ff00;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    color: #00ff00;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    z-index: 100;
    animation: electricGlow 2s ease-in-out infinite alternate;
    transform: translateZ(0);
}

.electric-board .board-text {
    margin: 0;
    text-shadow: 0 0 5px #00ff00;
}

@keyframes electricGlow {
    0% { box-shadow: 0 0 5px #00ff00; }
    100% { box-shadow: 0 0 15px #00ff00, 0 0 25px #00ff00; }
}

@media (max-width: 768px) {
    .motivational-quote {
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        font-size: 0.8rem;
        padding: 0.75rem;
    }
    
    .electric-board {
        top: 10px;
        left: 10px;
        right: 10px;
        font-size: 0.7rem;
        padding: 0.5rem 0.75rem;
    }
}

/* Splash Screen */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn 0.5s ease-in;
}

.splash-content {
    text-align: center;
    color: white;
    animation: slideUp 1s ease-out;
}

.logo-container {
    margin-bottom: 2rem;
}

.logo-icon {
    font-size: 4rem;
    animation: bounce 2s infinite;
    color: #fff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.welcome-text {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out 0.5s both;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.greeting-text {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 1s both;
    opacity: 0.9;
}

.loading-spinner {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Animated Background Particles */
.animated-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 8s;
}

.particle:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-delay: 2s;
    animation-duration: 10s;
}

.particle:nth-child(3) {
    top: 80%;
    left: 20%;
    animation-delay: 4s;
    animation-duration: 12s;
}

.particle:nth-child(4) {
    top: 30%;
    left: 70%;
    animation-delay: 1s;
    animation-duration: 9s;
}

.particle:nth-child(5) {
    top: 70%;
    left: 60%;
    animation-delay: 3s;
    animation-duration: 11s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.6; }
    50% { transform: translateY(-20px) rotate(180deg); opacity: 1; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

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

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

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

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

/* Main Application */
.main-app {
    min-height: 100vh;
    animation: fadeIn 0.5s ease-in;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 0;
    animation: slideDown 0.5s ease-out;
}

.navbar-brand {
    font-weight: 600;
    font-size: 1.5rem;
    color: white !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    transition: all 0.3s ease;
    margin: 0 0.5rem;
    border-radius: 25px;
    padding: 0.5rem 1rem !important;
}

.nav-link:hover {
    color: white !important;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Center Search Section */
.navbar-center {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 2rem;
}

.search-controls {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    min-width: 300px;
    max-width: 500px;
}

.search-input-group {
    display: flex;
    width: 100%;
    position: relative;
}

.search-input-group input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px 0 0 25px;
    padding: 0.5rem 1rem;
    color: white;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    width: 100%;
}

.search-input-group input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-input-group input:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    outline: none;
}

.btn-search {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-left: none;
    border-radius: 0 25px 25px 0;
    padding: 0.5rem 1rem;
    color: white;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-search:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    color: white;
}

.search-filters {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.search-filters select,
.search-filters input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    padding: 0.25rem 0.5rem;
    color: white;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.search-filters select:focus,
.search-filters input:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    outline: none;
}

.search-filters option {
    background: #333;
    color: white;
}

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

/* Main Content */
.main-content {
    padding: 2rem;
    animation: fadeInUp 0.5s ease-out 0.3s both;
}

.content-section {
    display: none;
    animation: fadeIn 0.5s ease-in;
}

.content-section.active {
    display: block;
}

/* Section Headers */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: slideInLeft 0.5s ease-out;
}

.section-header h2 {
    color: white;
    margin: 0;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

/* Search Container */
.search-container {
    margin-bottom: 2rem;
    animation: slideInRight 0.5s ease-out 0.2s both;
}

.search-container input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    color: white;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.search-container input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-container input:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    outline: none;
}

/* Cards */
.card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    animation: fadeInUp 0.4s ease-out;
    overflow: hidden;
    transform: translateZ(0);
    will-change: transform;
}

/* Low stock highlight */
.card.low-stock {
    border-color: rgba(220, 53, 69, 0.8);
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.2), 0 8px 25px rgba(220, 53, 69, 0.25);
}

.card:hover {
    transform: translateY(-3px) translateZ(0);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
}

.card-header {
    background: rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 1.5rem;
    color: white;
    font-weight: 600;
}

.card-body {
    padding: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.card-footer {
    background: rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
}

/* Status Badges */
.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-pending {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    color: #d63384;
}

.status-progress {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    color: #0d6efd;
}

.status-completed {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    color: #fd7e14;
}

.status-delivered {
    background: linear-gradient(135deg, #d299c2 0%, #fef9d7 100%);
    color: #198754;
}

/* Buttons */
.btn {
    border-radius: 20px;
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
}

.btn-sm {
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
}

.btn-edit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-delete {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    color: #d63384;
}

.btn {
    transform: translateZ(0);
    will-change: transform;
}

.btn:hover {
    transform: translateY(-2px) translateZ(0);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Modal Styling */
.modal-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 15px 15px 0 0;
    border-bottom: none;
}

.modal-title {
    font-weight: 600;
}

.btn-close {
    filter: invert(1);
}

/* Form Controls */
.form-control, .form-select {
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 10px;
    padding: 0.75rem;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.form-label {
    font-weight: 500;
    color: #495057;
    margin-bottom: 0.5rem;
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .welcome-text {
        font-size: 2rem;
    }
    
    .greeting-text {
        font-size: 1.2rem;
    }
    
    .section-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .main-content {
        padding: 1rem;
    }
    
    .card {
        margin-bottom: 1rem;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .nav-link {
        padding: 0.4rem 0.8rem !important;
        font-size: 0.9rem;
    }
    
    .navbar-center {
        margin: 0 1rem;
        order: 3;
        width: 100%;
        margin-top: 1rem;
    }
    
    .search-controls {
        min-width: 250px;
        max-width: 100%;
    }
    
    .search-input-group input {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .btn-search {
        padding: 0.4rem 0.8rem;
    }
    
    .search-filters select,
    .search-filters input {
        padding: 0.2rem 0.4rem;
        font-size: 0.75rem;
    }
    
    .modal-dialog {
        margin: 0.5rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .card-footer {
        padding: 0.75rem 1rem;
    }
    
    .btn-sm {
        padding: 0.2rem 0.6rem;
        font-size: 0.8rem;
    }
}

/* Mobile-specific optimizations */
@media (max-width: 576px) {
    .welcome-text {
        font-size: 1.8rem;
    }
    
    .greeting-text {
        font-size: 1.1rem;
    }
    
    .logo-icon {
        font-size: 3rem;
    }
    
    .main-content {
        padding: 0.75rem;
    }
    
    .section-header {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .search-container {
        margin-bottom: 1.5rem;
    }
    
    .search-container input {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .card {
        margin-bottom: 0.75rem;
    }
    
    .card-header {
        padding: 0.75rem 1rem;
    }
    
    .card-body {
        padding: 0.75rem;
    }
    
    .card-footer {
        padding: 0.5rem 0.75rem;
    }
    
    .btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .btn-sm {
        padding: 0.15rem 0.5rem;
        font-size: 0.75rem;
    }
    
    .status-badge {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }
    
    .empty-state {
        padding: 2rem 1rem;
    }
    
    .empty-state i {
        font-size: 3rem;
    }
    
    .empty-state h3 {
        font-size: 1.3rem;
    }
    
    .empty-state p {
        font-size: 0.9rem;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

/* Success/Error Messages */
.alert {
    border-radius: 10px;
    border: none;
    backdrop-filter: blur(10px);
}

.alert-success {
    background: rgba(25, 135, 84, 0.1);
    color: #198754;
    border: 1px solid rgba(25, 135, 84, 0.3);
}

.alert-danger {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem;
    color: rgba(255, 255, 255, 0.7);
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* Statistics Cards */
.stats-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    color: white;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

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

.stats-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.stats-label {
    font-size: 1rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Marketing Footer */
.marketing-footer {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
}

.marketing-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2, #667eea);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.footer-brand {
    display: flex;
    align-items: center;
    color: white;
    font-size: 1.1rem;
}

.footer-brand i {
    color: #667eea;
    font-size: 1.3rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.brand-text {
    margin: 0 0.5rem;
    opacity: 0.9;
}

.developer-name {
    font-weight: 700;
    color: #667eea;
    text-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.developer-name:hover {
    color: #764ba2;
    transform: translateY(-2px);
    text-shadow: 0 0 15px rgba(118, 75, 162, 0.7);
}

.footer-tags {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.tag {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: tagFloat 4s ease-in-out infinite;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tag:nth-child(1) { animation-delay: 0s; }
.tag:nth-child(2) { animation-delay: 1s; }
.tag:nth-child(3) { animation-delay: 2s; }

.tag:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

@keyframes tagFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.contact-item {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.contact-item:hover {
    color: #667eea;
    transform: translateY(-2px);
}

.contact-item i {
    color: #667eea;
    margin-right: 0.3rem;
}

/* Mobile responsive footer */
@media (max-width: 768px) {
    .marketing-footer {
        padding: 1rem 0;
        margin-top: 2rem;
    }
    
    .footer-brand {
        font-size: 1rem;
        justify-content: center;
        margin-bottom: 1rem;
    }
    
    .footer-tags {
        justify-content: center;
        margin-bottom: 1rem;
    }
    
    .tag {
        font-size: 0.7rem;
        padding: 0.25rem 0.6rem;
    }
    
    .contact-info {
        gap: 1rem;
        flex-direction: column;
        align-items: center;
    }
    
    .contact-item {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .footer-brand {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .footer-tags {
        gap: 0.3rem;
    }
    
    .tag {
        font-size: 0.65rem;
        padding: 0.2rem 0.5rem;
    }
    
    .contact-info {
        gap: 0.5rem;
    }
    
    .contact-item {
        font-size: 0.75rem;
    }
}

/* Login Screen */
.login-screen {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* keep content away from bottom footer */
    padding: 24px 20px 180px; /* bottom space for fixed footer */
    z-index: 1000;
}

.login-card {
    width: 100%;
    max-width: 380px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    overflow: hidden;
}

.login-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 1rem 1.25rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.login-body {
    padding: 1.25rem;
}

/* Ensure space between card and fixed footer */
.login-screen .login-card {
    margin-top: 16px;
    margin-bottom: 24px;
}

/* Keep marketing footer docked at bottom on login screen */
.login-screen .marketing-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    margin-top: 0;
    padding: 0.75rem 0; /* compact footer on login */
}

@media (max-width: 576px) {
    .login-screen {
        padding: 16px 12px 220px; /* extra space on very small screens */
    }
    /* Hide large tag pills and extra rows on login to keep it small */
    .login-screen .footer-tags,
    .login-screen .contact-info,
    .login-screen .tag { 
        display: none !important;
    }
}