:root {
    --primary: #3498db;
    --secondary: #2ecc71;
    --dark: #2c3e50;
    --light: #ecf0f1;
    --accent: #e74c3c;
    --card-bg: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--dark);
    color: var(--light);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.tooltip-icon {
    display: inline-block;
    margin-left: 5px;
    cursor: help;
    color: var(--primary);
    font-weight: bold;
}

.field-hint {
    display: block;
    margin-top: 5px;
    font-size: 0.85rem;
    color: #bdc3c7;
    font-style: italic;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: bold;
    color: var(--light);
    text-decoration: none;
}

.logo span {
    color: var(--primary);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

nav a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 5px 0;
}

nav a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

nav a:hover {
    color: var(--primary);
}

nav a:hover:after {
    width: 100%;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: opacity 0.5s ease;
}

.cta-button {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loading-text {
    color: var(--light);
    font-size: 1.2rem;
    letter-spacing: 1px;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

.loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.spinner {
    width: 80px;
    height: 80px;
    border: 5px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 1s ease-in-out infinite;
    margin-bottom: 20px;
}

.upload-section {
    padding: 150px 0 100px;
    min-height: 100vh;
    background: linear-gradient(135deg, #1e2f3f 0%, #162638 100%);
    position: relative;
    overflow: hidden;
}

.upload-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 70%, rgba(52, 152, 219, 0.08) 0%, transparent 70%);
}

.upload-form-container {
    flex: 2;
    min-width: 500px;
    background: linear-gradient(135deg, rgba(30, 46, 67, 0.7) 0%, rgba(20, 30, 45, 0.7) 100%);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.upload-form-container:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(52, 152, 219, 0.3);
    transform: translateY(-5px);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    background-color: rgba(0, 0, 0, 0.2);
    color: var(--light);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.file-upload-btn {
    background: linear-gradient(135deg, rgba(30, 46, 67, 0.7) 0%, rgba(20, 30, 45, 0.7) 100%);
    border: 2px dashed rgba(52, 152, 219, 0.3);
    border-radius: 10px;
    padding: 40px 20px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.file-upload-btn:hover {
    border-color: var(--primary);
    background-color: rgba(52, 152, 219, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.2);
}

.submit-btn {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    font-size: 1rem;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transition: left 0.7s ease;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.file-upload-btn span {
    color: var(--primary);
    font-weight: 500;
}

.file-upload input[type="file"] {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
}

.file-info {
    display: none;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 10px 15px;
    border-radius: 5px;
    margin-top: 10px;
}

.file-info.active {
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: fadeIn 0.5s ease;
}

.file-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 80%;
}

.file-remove {
    background: none;
    border: none;
    color: var(--accent);
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-remove:hover {
    transform: scale(1.2);
}

.thumbnail-preview {
    width: 100%;
    margin-top: 10px;
    display: none;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.thumbnail-preview.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.thumbnail-preview img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.thumbnail-preview:hover img {
    transform: scale(1.05);
}

.tags-input {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 5px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(0, 0, 0, 0.2);
}

.tag {
    background-color: rgba(52, 152, 219, 0.15);
    color: var(--primary);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
    border: 1px solid rgba(52, 152, 219, 0.2);
}

.tag:hover {
    background-color: rgba(52, 152, 219, 0.3);
    transform: translateY(-2px);
}

.tag-remove {
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    transition: all 0.3s ease;
}

.tag-remove:hover {
    color: var(--accent);
    transform: rotate(90deg);
}

.tags-input input {
    background: none;
    border: none;
    color: var(--light);
    padding: 5px 0;
    flex: 1;
    min-width: 100px;
}

.tags-input input:focus {
    outline: none;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.tag {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.15) 0%, rgba(52, 152, 219, 0.1) 100%);
    color: var(--light);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(52, 152, 219, 0.2);
    backdrop-filter: blur(5px);
}

.tag:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.2) 0%, rgba(52, 152, 219, 0.15) 100%);
    border-color: rgba(52, 152, 219, 0.3);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.2);
}

.tag button {
    background: none;
    border: none;
    color: var(--accent);
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.tag button:hover {
    opacity: 1;
    transform: scale(1.1);
}

#tagInput {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 10px 15px;
    color: var(--light);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

#tagInput:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
    background: rgba(0, 0, 0, 0.3);
}

#tagInput::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(0, 0, 0, 0.15);
    padding: 12px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.checkbox-group:hover {
    background-color: rgba(0, 0, 0, 0.25);
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
}

.checkbox-group label {
    cursor: pointer;
}

.submit-btn {
    background-color: var(--secondary);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transition: left 0.7s ease;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    background-color: #27ae60;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.4);
}

.upload-info {
    flex: 1;
    min-width: 300px;
}

.info-card {
    background-color: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.2s backwards;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.info-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(52, 152, 219, 0.3);
    transform: translateY(-5px);
}

.info-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
    color: var(--primary);
}

.info-card h3::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: var(--primary);
    bottom: 0;
    left: 0;
}

.info-card ul {
    list-style-position: inside;
    margin-left: 10px;
}

.info-card li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 5px;
}

.info-card li::before {
    content: '•';
    color: var(--primary);
    display: inline-block;
    margin-right: 10px;
}

.info-card p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.upload-progress {
    display: none;
    margin-top: 20px;
}

.upload-progress.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.progress-container {
    margin: 20px 0;
    display: flex;
    align-items: center;
}

progress {
    flex: 1;
    height: 20px;
    border-radius: 10px;
    overflow: hidden;
    background-color: #eee;
}

progress::-webkit-progress-bar {
    background-color: #eee;
    border-radius: 10px;
}

progress::-webkit-progress-value {
    background-color: var(--primary-color);
    border-radius: 10px;
    transition: width 0.3s ease;
}

progress::-moz-progress-bar {
    background-color: var(--primary-color);
    border-radius: 10px;
}

#progressText {
    margin-left: 10px;
    font-weight: 600;
    min-width: 50px;
    text-align: right;
}


.progress-bar {
    height: 100%;
    width: 0%;
    background-color: var(--secondary);
    transition: width 0.3s ease;
    background-image: linear-gradient(45deg,
            rgba(255, 255, 255, 0.15) 25%,
            transparent 25%,
            transparent 50%,
            rgba(255, 255, 255, 0.15) 50%,
            rgba(255, 255, 255, 0.15) 75%,
            transparent 75%,
            transparent);
    background-size: 20px 20px;
    animation: progress-stripes 1s linear infinite;
}

@keyframes progress-stripes {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 20px 0;
    }
}

.progress-text {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.success-message {
    display: none;
    background-color: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    margin-top: 20px;
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.success-message.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.error-message {
    display: none;
    background-color: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    margin-top: 20px;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

.error-message.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

footer {
    background-color: #1a2530;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: var(--primary);
    bottom: 0;
    left: 0;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--primary);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #34495e;
    color: #7f8c8d;
    font-size: 0.9rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .upload-form-container {
        min-width: 100%;
    }

    nav ul {
        gap: 15px;
    }

    .section-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .upload-form-container {
        padding: 20px;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 0.9rem;
    }

    .file-upload-btn {
        padding: 30px 15px;
    }

    .submit-btn {
        font-size: 1rem;
    }

    .info-card {
        padding: 20px;
    }
}

@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

.auth-modal {
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
}

.auth-content {
    background: linear-gradient(135deg, rgba(30, 46, 67, 0.7) 0%, rgba(20, 30, 45, 0.7) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 0.3s ease;
}

.auth-content {
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 10px;
    width: 400px;
    max-width: 90%;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

.auth-modal.active .auth-content {
    transform: translateY(0);
    opacity: 1;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #bdc3c7;
    transition: all 0.3s ease;
}

.close-modal:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

.auth-tabs {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-tab {
    padding: 12px 25px;
    background: none;
    border: none;
    color: #bdc3c7;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: 0.5px;
}

.auth-tab:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -1px;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.auth-tab.active {
    color: var(--light);
}

.auth-tab.active:after {
    width: 100%;
}

.auth-tab:hover {
    color: var(--primary);
}

.auth-form h3 {
    color: var(--light);
    margin-bottom: 25px;
    font-size: 1.5rem;
    text-align: center;
}

.auth-submit {
    width: 100%;
    padding: 14px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    margin-top: 10px;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.auth-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transition: left 0.7s ease;
}

.auth-submit:hover::before {
    left: 100%;
}

.auth-submit:hover {
    background-color: #2980b9;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
    transform: translateY(-2px);
}

.auth-message {
    margin-top: 20px;
    padding: 12px;
    border-radius: 6px;
    display: none;
    text-align: center;
    font-size: 0.9rem;
    animation: fadeInUp 0.3s ease;
}

.auth-message.success {
    background-color: rgba(46, 204, 113, 0.2);
    color: var(--secondary);
    border: 1px solid rgba(46, 204, 113, 0.3);
    display: block;
}

.auth-message.error {
    background-color: rgba(231, 76, 60, 0.2);
    color: var(--accent);
    border: 1px solid rgba(231, 76, 60, 0.3);
    display: block;
}

@media (max-width: 480px) {
    .auth-content {
        padding: 30px 20px;
    }

    .auth-tab {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .auth-form h3 {
        font-size: 1.3rem;
    }
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #bdc3c7;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    background-color: rgba(0, 0, 0, 0.2);
    color: var(--light);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.image-upload-zone {
    border: 2px dashed rgba(52, 152, 219, 0.3);
    border-radius: 10px;
    padding: 40px 20px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: linear-gradient(135deg, rgba(30, 46, 67, 0.3) 0%, rgba(20, 30, 45, 0.3) 100%);
    text-align: center;
}

.image-upload-zone:hover,
.image-upload-zone.drag-over {
    border-color: var(--primary);
    background: rgba(52, 152, 219, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.2);
}

.image-upload-zone.has-images {
    border-color: var(--secondary);
    background: rgba(46, 204, 113, 0.05);
}

.upload-prompt {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.upload-prompt i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.upload-prompt p {
    font-size: 1.1rem;
    color: var(--light);
    margin: 0;
}

.upload-prompt span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.image-preview-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.image-preview-item {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.2);
}

.image-preview-item:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(52, 152, 219, 0.3);
}

.image-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-preview-item:hover img {
    transform: scale(1.1);
}

.image-remove-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(231, 76, 60, 0.9);
    border: none;
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    line-height: 1;
    padding: 0;
}

.image-remove-btn:hover {
    background: var(--accent);
    transform: scale(1.15) rotate(90deg);
}

.image-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 5;
}

.thumbnail-badge {
    background: linear-gradient(135deg, var(--primary) 0%, #2980b9 100%);
}

.file-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid rgba(46, 204, 113, 0.3);
    padding: 12px 15px;
    border-radius: 6px;
    margin-top: 10px;
    animation: fadeIn 0.3s ease;
}

.file-info span:first-child {
    color: var(--secondary);
    font-weight: 500;
}

.file-info span:last-child {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}