:root {
    --primary-color: #06ad00;
    --secondary-color: #3b3b3b;
    --background-color: #ebebeb;
    --upl-color: #ffffff;
    --card-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    --border-radius: 20px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Roboto", sans-serif;
}

body {
    background: linear-gradient(135deg, #e0e0e0 0%, #c2c2c2 100%);
    min-height: 100vh;
}

/* ========== HEADER ========== */
.header {
    background-color: var(--primary-color);
    width: 100%;
    padding: 15px 5%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.logo {
    display: flex;
    align-items: center;
}

.header h1 {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    flex: 1;
}

.header-links {
    display: flex;
    gap: 20px;
}

.header-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 30px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
}

.header-link:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* ========== MAIN CONTAINER ========== */
.main-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

/* ========== UPLOAD CARD ========== */
.upl-card {
    background-color: var(--upl-color);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    padding: 35px;
    margin-bottom: 40px;
    transition: transform 0.3s ease;
    border: none;
}

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

.card-header {
    text-align: center;
    margin-bottom: 30px;
}

.icon-circle {
    width: 80px;
    height: 80px;
    background: rgba(6, 173, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.card-header h2 {
    color: var(--secondary-color);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.subtitle {
    color: #6c757d;
    font-size: 14px;
}

/* ========== THUMBNAIL ========== */
.thumb-wrapper {
    text-align: center;
    margin-bottom: 30px;
}

.thumb-img {
    max-width: 150px;
    height: auto;
    opacity: 0.9;
    transition: transform 0.3s ease;
}

.thumb-img:hover {
    transform: scale(1.05);
}

/* ========== FORM STYLES ========== */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-size: 14px;
}

.form-group input[type="text"] {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #fafafa;
}

.form-group input[type="text"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(6, 173, 0, 0.1);
    background: white;
}

.file-input-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group input[type="file"] {
    width: 100%;
    padding: 12px;
    border: 2px dashed var(--primary-color);
    border-radius: 12px;
    background: #f9fff9;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-group input[type="file"]:hover {
    background: #f0fff0;
    border-color: #058a00;
}

.file-name {
    font-size: 13px;
    color: #6c757d;
    padding: 0 5px;
}

/* ========== SUBMIT BUTTON ========== */
.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, #058a00 100%);
    color: white;
    border: none;
    padding: 16px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(6, 173, 0, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* ========== RESULT CONTAINER ========== */
.result-container {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.result-container h2 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.result-container ul {
    list-style: none;
    padding-left: 0;
}

.result-container li {
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.result-container li strong {
    min-width: 130px;
    color: var(--secondary-color);
}

.loading {
    text-align: center;
    padding: 30px;
    color: var(--primary-color);
    font-weight: 500;
}

.error-message {
    color: #dc3545;
    padding: 15px;
    background: #ffeaea;
    border-radius: 8px;
    text-align: center;
}

/* ========== INFO CARDS ========== */
.info-cards {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.info-card {
    flex: 1;
    min-width: 150px;
    background: white;
    padding: 20px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.info-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.info-card h3 {
    color: var(--secondary-color);
    font-size: 16px;
    margin-bottom: 8px;
}

.info-card p {
    color: #6c757d;
    font-size: 12px;
}

.devs-guide{
    margin-top: 45px;
    margin-bottom: 0;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .header h1 {
        font-size: 1.2rem;
    }

    .upl-card {
        padding: 20px;
    }

    .card-header h2 {
        font-size: 22px;
    }

    .icon-circle {
        width: 60px;
        height: 60px;
    }

    .icon-circle svg {
        width: 32px;
        height: 32px;
    }

    .info-cards {
        flex-direction: column;
    }

    .result-container li {
        flex-direction: column;
    }

    .result-container li strong {
        min-width: auto;
    }
}

/* ========== ANIMATIONS ========== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.upl-card,
.info-card {
    animation: fadeIn 0.5s ease-out forwards;
}

.info-card:nth-child(2) {
    animation-delay: 0.1s;
}

.info-card:nth-child(3) {
    animation-delay: 0.2s;
}
