:root {
    --primary-color: #409711;
    --primary-hover: #357a0e;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    
    --bg-color: #ffffff;
    --body-bg: #ffffff;
    --text-color: #2c3e50;
    --secondary-text: #6c757d;
    
    --navbar-bg: #ffffff;
    --hero-text: #ffffff;
    --section-bg: #f8fafc;
    --card-bg: #f8f9fa;
    
    --border-color: #e2e8f0;
    --hover-color: #e9ecef;
    
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
    --bg-color: #0f172a;
    --body-bg: #121212;
    --text-color: #f1f5f9;
    --secondary-text: #a0a0a0;
    
    --navbar-bg: #1e293b;
    --hero-text: #ffffff;
    --section-bg: #1e293b;
    --card-bg: #1e1e1e;
    
    --border-color: #334155;
    --hover-color: #2d2d2d;
    
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.3);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    transition: var(--transition);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.navbar {
    background-color: var(--navbar-bg);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--border-color);
}

.navbar-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
}

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-color);
    background-color: rgba(64, 151, 17, 0.08);
}

.nav-links a.active {
    color: var(--primary-color);
    font-weight: 600;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0.75rem;
    right: 0.75rem;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

.navbar-avatar {
 border-radius: 50%;
  width: 40px;
height: 40px;
border: 2px solid var(--border-color, #e0e0e0);
padding: 2px;
cursor: pointer;
transition: all 0.3s ease;
background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
position: relative;
}
            
.navbar-avatar:hover {
border-color: var(--primary-color, #4a6fa5);
transform: scale(1.05);
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
            
.default-avatar {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
display: flex;
align-items: center;
justify-content: center;
color: white;
font-weight: bold;
font-size: 16px;
font-family: 'Inter', sans-serif;
}

#profile-box .register-form-container {
max-width: 500px;
width: 90%;
}

.profile-preview {
text-align: center;
margin-bottom: 20px;
}

.profile-preview img {
width: 120px;
height: 120px;
border-radius: 50%;
object-fit: cover;
border: 3px solid #4a6fa5;
margin-bottom: 10px;
background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.profile-preview .current-avatar {
font-size: 14px;
color: #666;
margin-top: 5px;
}

.file-upload-wrapper {
margin-bottom: 20px;
}

.file-upload-label {
display: block;
padding: 10px 15px;
background: #f8f9fa;
border: 2px dashed #dee2e6;
border-radius: 8px;
text-align: center;
cursor: pointer;
transition: all 0.3s ease;
}

.file-upload-label:hover {
background: #e9ecef;
border-color: #4a6fa5;
}

.file-info {
font-size: 12px;
color: #666;
margin-top: 5px;
text-align: center;
}

.current-profile-img {
border-radius: 50%;
width: 40px;
height: 40px;
object-fit: cover;
border: 2px solid #4a6fa5;
background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}
            
.avatar-initials {
display: flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
border-radius: 50%;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
font-weight: bold;
font-size: 16px;
border: 2px solid #e0e0e0;
}

.actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cart:hover {
    background-color: var(--hover-color);
}

.join-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    white-space: nowrap;
}

.join-btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(64, 151, 17, 0.3);
}

#register-box, #profile-box {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#register-box.register-hidden, 
#profile-box.register-hidden {
    opacity: 0;
    visibility: hidden;
}

.register-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    cursor: pointer;
    z-index: 1;
}

.register-form-container {
    background: var(--section-bg);
    padding: 2.5rem;
    border-radius: var(--radius);
    width: 90%;
    max-width: 400px;
    box-shadow: var(--shadow-lg);
    animation: modalFade 0.3s ease;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

@keyframes modalFade {
    from { 
        opacity: 0; 
        transform: translate(-50%, -60%) scale(0.95); 
    }
    to { 
        opacity: 1; 
        transform: translate(-50%, -50%) scale(1); 
    }
}

.auth-form {
    display: none;
    width: 100%;
}

.auth-form.active {
    display: block;
}

.auth-form h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.8rem;
}

.auth-form input {
    padding: 1rem;
    font-size: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: var(--transition);
    width: 100%;
    margin-bottom: 1rem;
    outline: none;
}

.auth-form input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(64, 151, 17, 0.2);
}

.auth-form button[type="submit"],
.btn-submit {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    margin-top: 0.5rem;
}

.auth-form button[type="submit"]:hover,
.btn-submit:hover {
    background-color: var(--primary-hover);
}

.register-form-container,
.auth-form,
.auth-form * {
    pointer-events: auto !important;
}

.register-form-container:active,
.auth-form:active,
.auth-form *:active {
    pointer-events: auto !important;
}

.register-overlay {
    pointer-events: auto;
    cursor: pointer;
}

.theme-btn {
    background: none;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    color: var(--text-color);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-btn:hover {
    background-color: var(--hover-color);
}

.hero {
    position: relative;
    height: 65vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5)),
                url('../images/pozadie.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
    text-align: center;
    padding: 2rem;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--hero-text);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.page-section {
    display: none;
    padding: 6rem 2rem 3rem;
    min-height: calc(100vh - 80px);
}

.page-section.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 0.75rem auto;
    border-radius: 2px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 1;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

#gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -45px;
    right: -5px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: white;
    transform: scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.admin-gallery-controls {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 30px;
    border-radius: 15px;
    margin-top: 40px;
    border: 2px solid #dee2e6;
}

.admin-gallery-controls h3 {
    color: #4a6fa5;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.admin-gallery-controls ol {
    line-height: 1.6;
}

.admin-gallery-controls code {
    background: #e9ecef;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }
    
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.news-item {
    background-color: var(--section-bg);
    padding: 1.75rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-left: 5px solid var(--primary-color);
    transition: var(--transition);
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.news-item h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.news-item small {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}

.info-content {
    max-width: 900px;
    margin: 2rem auto;
    padding: 2.5rem;
    background-color: var(--section-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.info-content h3 {
    color: var(--primary-color);
    margin: 1.5rem 0 0.75rem;
    font-size: 1.5rem;
}

.info-content ul, .info-content ol {
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.info-content li {
    margin-bottom: 0.75rem;
    padding-left: 0.5rem;
}

.pricing-builder {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
}

.plan-selection {
    margin-bottom: 40px;
    text-align: center;
}

.plan-options {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.plan-option {
    flex: 1;
    min-width: 300px;
    max-width: 350px;
}

.plan-option input[type="radio"] {
    display: none;
}

.plan-option label {
    display: block;
    padding: 25px;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    height: 100%;
    text-align: left;
}

.plan-option input[type="radio"]:checked + label {
    border-color: var(--primary-color);
    background: rgba(64, 151, 17, 0.05);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.plan-option h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
    text-align: center;
}

.plan-option .price {
    font-size: 2rem;
    font-weight: bold;
    margin: 15px 0;
    color: var(--text-color);
    text-align: center;
}

.plan-option .price small {
    font-size: 1rem;
    color: var(--secondary-text);
}

.plan-option ul {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
}

.plan-option li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--secondary-text);
    display: flex;
    align-items: center;
}

.plan-option li:last-child {
    border-bottom: none;
}

.plan-option li::before {
    content: '✓';
    color: var(--primary-color);
    margin-right: 10px;
    font-weight: bold;
}

.addons-selection {
    margin: 40px auto;
    padding: 30px;
    background: var(--card-bg);
    border-radius: var(--radius);
    max-width: 1000px;
    text-align: center;
}

.addons-selection h3 {
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.addons-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.addon-item {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
}

.addon-item input[type="checkbox"] {
    display: none;
}

.addon-item label {
    display: flex;
    flex-direction: column;
    padding: 20px;
    background: var(--bg-color);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    height: 100%;
    text-align: center;
}

.addon-item input[type="checkbox"]:checked + label {
    border-color: var(--primary-color);
    background: rgba(64, 151, 17, 0.05);
}

.addon-name {
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.addon-price {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: bold;
    margin: 8px 0;
}

.addon-desc {
    color: var(--secondary-text);
    font-size: 0.9rem;
    margin-top: 8px;
}

.price-summary {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 30px;
    margin: 40px auto 0;
    box-shadow: var(--shadow-lg);
    max-width: 1000px;
    width: 100%;
}

.summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.summary-header h3 {
    margin: 0;
    font-size: 1.5rem;
}

.total-price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.summary-details {
    margin-bottom: 30px;
    text-align: left;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.detail-item.total {
    font-size: 1.4rem;
    font-weight: bold;
    border-bottom: none;
    margin-top: 15px;
    padding-top: 20px;
    border-top: 3px solid var(--border-color);
}

.detail-divider {
    height: 1px;
    background: var(--border-color);
    margin: 20px 0;
}

.summary-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: var(--transition);
    min-width: 180px;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(64, 151, 17, 0.3);
}

.btn-large {
    padding: 15px 40px !important;
    font-size: 1.2rem !important;
}

.btn-secondary {
    padding: 15px 30px;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    color: var(--text-color);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: var(--transition);
    min-width: 180px;
}

.btn-secondary:hover {
    background: var(--hover-color);
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.profile-btn, .logout-btn {
    background-color: var(--section-bg);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    text-decoration: none;
    display: inline-block;
}

.profile-btn:hover {
    background-color: var(--hover-color);
}

.logout-btn {
    background-color: #dc3545;
    color: white;
    border: none;
}

.logout-btn:hover {
    background-color: #c82333;
}

.welcome-message {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 1rem;
}

.auth-switch {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--secondary-text);
}

.auth-switch a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.auth-switch a:hover {
    text-decoration: underline;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn-submit {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.btn-submit:hover {
    background-color: var(--primary-hover);
}

.btn-cancel {
    background-color: var(--section-bg);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    padding: 1rem;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.btn-cancel:hover {
    background-color: var(--hover-color);
}

.footer {
    background-color: var(--navbar-bg);
    padding: 3rem 2rem;
    text-align: center;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer p {
    color: var(--text-color);
    font-size: 1rem;
    opacity: 0.9;
}

.nav-order {
    background-color: var(--primary-color);
    color: white !important;
    padding: 0.5rem 1rem !important;
    border-radius: var(--radius-sm);
}

.nav-order:hover {
    background-color: var(--primary-hover) !important;
}

.admin-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
}

.admin-tab {
    padding: 10px 20px;
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    font-weight: 600;
    border-radius: 5px 5px 0 0;
    transition: all 0.3s;
}

.admin-tab.active {
    background: var(--accent-color);
    color: white;
}

.admin-tab-content {
    display: none;
}

.admin-tab-content.active {
    display: block;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.admin-table th,
.admin-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.admin-table th {
    background: var(--card-bg);
    font-weight: 600;
}

.admin-table tr:hover {
    background: rgba(0, 0, 0, 0.05);
}

.table-responsive {
    overflow-x: auto;
}

.status-select {
    padding: 5px 10px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    color: var(--text-color);
}

.btn-small {
    padding: 5px 10px;
    margin: 2px;
    font-size: 0.9em;
}

.btn-danger {
    background: #dc3545;
    color: white;
}

.btn-danger:hover {
    background: #c82333;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.stat-card {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.stat-card h4 {
    margin: 0 0 10px 0;
    color: var(--text-color);
    font-size: 1em;
}

.stat-value {
    font-size: 2em;
    font-weight: bold;
    color: var(--accent-color);
}

.admin-actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.user-menu span span {
    font-size: 0.8em;
    margin-left: 5px;
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }
    
    .nav-links {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 1rem;
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .logo {
        order: 1;
    }
    
    .actions {
        order: 2;
    }
    
    .hero {
        height: 55vh;
        margin-top: 120px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .page-section {
        padding: 5rem 1.5rem 2rem;
    }
    
    .gallery-grid, .news-grid {
        grid-template-columns: 1fr;
    }
    
    .plan-option, .addon-item {
        min-width: 100%;
        max-width: 100%;
    }
    
    .summary-actions {
        flex-direction: column;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    .user-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .footer {
        padding: 2rem 1.5rem;
    }
    
    .register-form-container {
        padding: 2rem;
        width: 95%;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .plan-option {
        min-width: calc(50% - 20px);
        max-width: calc(50% - 20px);
    }
    
    .addon-item {
        min-width: calc(50% - 15px);
        max-width: calc(50% - 15px);
    }
}