/* Dark Theme */
body {
    background-color: #121212;
    color: white;
    font-family: Arial, sans-serif;
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 20px auto;
}

/* Page Title */
.page-title {
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
}

/* Model Grid */
.model-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    justify-content: center;
}

/* Model Card */
.model-card {
    background-color: #1e1e1e;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
    text-align: center;
}

.model-card:hover {
    transform: scale(1.05);
}

/* Model Image */
.model-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 2px solid #333;
}

/* Model Info */
.model-info {
    padding: 10px;
}

.model-info h2 {
    font-size: 18px;
    margin-bottom: 5px;
}

.model-info p {
    font-size: 14px;
    color: #bbb;
    margin: 3px 0;
}
/* Model Page Layout */
.model-container {
    display: flex;
    gap: 20px;
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

/* Image Viewer */
.image-viewer {
    flex: 2;
    text-align: center;
}

.image-viewer img {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    border: 2px solid #333;
}

/* Thumbnail Gallery */
.thumbnail-gallery {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 10px;
}

.thumbnail-gallery img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: 0.2s;
}

.thumbnail-gallery img:hover {
    border-color: #4CAF50;
}

/* Sidebar */
.sidebar {
    flex: 1;
    background: #1e1e1e;
    padding: 15px;
    border-radius: 8px;
}

.sidebar h2 {
    margin-top: 0;
    font-size: 18px;
    border-bottom: 2px solid #4CAF50;
    padding-bottom: 5px;
}

.sidebar p {
    font-size: 14px;
    margin: 5px 0;
}

.download-btn {
    display: block;
    background: #4CAF50;
    color: white;
    padding: 10px;
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
}

.download-btn:disabled {
    background: gray;
    cursor: not-allowed;
}
/* Overall Page Layout */
.model-wrapper {
    display: flex;
    justify-content: space-between;
    max-width: 1400px;
    margin: auto;
    padding: 20px;
}

/* Image Viewer Section */
.image-viewer {
    flex: 2;
    text-align: center;
    background: #1e1e1e;
    padding: 15px;
    border-radius: 8px;
}

.image-viewer img {
    width: 100%;
    max-height: 600px;
    object-fit: contain;
    border-radius: 5px;
}

/* Thumbnail Strip */
.thumbnail-gallery {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 10px;
}

.thumbnail-gallery img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: 0.2s;
    border-radius: 5px;
}

.thumbnail-gallery img:hover {
    border-color: #4CAF50;
}

/* Model Info Sidebar */
.model-sidebar {
    flex: 1;
    background: #1e1e1e;
    padding: 20px;
    border-radius: 8px;
    max-width: 400px;
}

.model-sidebar h2 {
    font-size: 22px;
    border-bottom: 2px solid #4CAF50;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.model-sidebar p {
    font-size: 16px;
    margin: 8px 0;
}

/* Download Button */
.download-btn {
    display: block;
    background: #4CAF50;
    color: white;
    padding: 10px;
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
}

/* Work In Progress Banner */
.wip-banner {
    background: repeating-linear-gradient(
        45deg,
        yellow,
        yellow 10px,
        black 10px,
        black 20px
    );
    color: red;
    font-size: 20px; /* Larger Text */
    font-weight: bold; /* Make Text Bold */
    padding: 12px;
    text-align: center;
    border-radius: 5px;
    margin-top: 15px;
    text-transform: uppercase;
}


/* Delete Button */
.delete-btn {
    display: block;
    background: red;
    color: white;
    padding: 10px;
    text-align: center;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 15px;
    border: none;
    cursor: pointer;
}

.delete-btn:hover {
    background: darkred;
}

/* Footer Styling */
.site-footer {
    background: #1e1e1e;
    color: #ffffff;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    border-top: 2px solid #4CAF50;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
}

.footer-nav {
    margin-top: 10px;
}

.footer-nav a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: bold;
    margin: 0 15px;
    transition: 0.3s;
}

.footer-nav a:hover {
    color: #ffffff;
}

/* Page Header Styling */
.page-header {
    text-align: center;
    padding: 20px 0;
    margin-bottom: 20px;
}

.header-banner {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
/* Upload Button in Footer */
.upload-btn {
    background: #4CAF50;
    color: white;
    padding: 10px 15px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.3s;
    display: inline-block;
    margin-left: 15px;
}

.upload-btn:hover {
    background: #45a049;
}

/* Footer Styling */
.site-footer {
    background-color: #111;
    color: #fff;
    padding: 20px;
    text-align: center;
}

/* Sponsor Links */
.footer-sponsors {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.footer-sponsors a {
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    color: #00ff00; /* Neon green text */
    transition: color 0.3s ease-in-out;
}

.footer-sponsors a:hover {
    color: #ffffff; /* White on hover */
}

/* Sponsor Icons */
.footer-sponsors a i {
    margin-right: 5px; /* Space between icon and text */
}

/* Copyright Text */
.footer-copyright {
    font-size: 14px;
    color: #888; /* Slightly faded text */
    margin-top: 10px;
}

/* Footer Navigation */
.footer-nav {
    margin-bottom: 15px;
}

.footer-nav a {
    color: #00ff00;
    text-decoration: none;
    font-weight: bold;
    margin: 0 10px;
}

.footer-nav a:hover {
    color: #ffffff;
}
/* Ensure dropdown menu is positioned correctly */
.user-menu {
    position: relative;
    z-index: 9999;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #1e1e1e;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    z-index: 9999; /* Ensure it appears above everything */
}

.dropdown-menu.show {
    display: block;
}
/* User Dropdown Menu */
.user-menu {
    position: relative;
    display: inline-block;
}

.user-avatar {
    width: 50px; /* Adjust size if needed */
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #00ff00; /* Match border style */
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 60px; /* Adjust spacing from avatar */
    right: 0;
    background-color: #1e1e1e;
    padding: 12px;
    width: 180px; /* Adjust width for consistency */
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
    border: 2px solid #00ff00; /* Keep neon green border */
    z-index: 9999;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    color: #ffffff;
    font-size: 16px;
    text-decoration: none;
    transition: background 0.3s;
}

.dropdown-menu a:hover {
    background-color: #00ff00;
    color: #000;
    border-radius: 4px;
}

/* Show dropdown when active */
.dropdown-menu.show {
    display: block;
}
