@font-face {
    font-family: "Poppins";
    src: url("../fonts/Poppins/Poppins-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Poppins";
    src: url("../fonts/Poppins/Poppins-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Poppins";
    src: url("../fonts/Poppins/Poppins-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

.upload-area {
    border: 3px dashed #4facfe !important;
    border-radius: 15px !important;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8faff !important;
}

.upload-area:hover,
.upload-area.dragover {
    border-color: #00f2fe !important;
    background: #f0f8ff !important;
    transform: translateY(-2px);
}

.upload-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.upload-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.upload-hint {
    color: #666;
    font-size: 0.9rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin: 15px 0px 0px 0px;
}

.form-group label {
    font-weight: 600;
    color: #333;
    font-size: 1rem;
}

.form-control {
    padding: 10px;
    border: 2px solid #e1e5e9 !important;
    border-radius: 10px !important;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none !important;
    border-color: #4facfe !important;
    box-shadow: 0 0 0 3px rgba(79, 172, 254, 0.1) !important;
}

.btn {
    background: #0065a1 !important;
    color: white !important;
    border: none !important;
    padding: 18px 25px !important;
    border-radius: 10px !important;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(79, 172, 254, 0.3);
}

.btn:disabled {
    background: #ccc !important;
    cursor: not-allowed;
    transform: none;
}

.jnif-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.preview-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin-bottom: 10px;
}

.badge-container {
    padding: 0px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.badge-canvas {
    border-radius: 10px;
    max-width: 100%;
    height: auto;
}

.loading {
    text-align: center;
    padding: 20px;
    color: #666;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #4facfe;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    border: 1px solid #c3e6cb;
}

@media (max-width: 768px) {
    .jnif-main-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 20px;
    }

    .jnif-header h1 {
        font-size: 1.8rem;
    }
}

/*--------------------------------------------------------------
# Gallery Showcase Section
--------------------------------------------------------------*/
.gallery-showcase .gallery-carousel {
    margin-bottom: 2rem;
}

.gallery-showcase .gallery-carousel .swiper-wrapper {
    height: auto !important;
}

.gallery-showcase .gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-showcase .gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.gallery-showcase .gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-showcase .gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-showcase .gallery-item img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

@media (max-width: 576px) {
    .gallery-showcase .gallery-item img {
        height: 200px;
    }
}

.gallery-showcase .gallery-item .gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        var(--accent-color),
        color-mix(in srgb, var(--accent-color), transparent 60%)
    );
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-showcase .gallery-item .gallery-overlay i {
    color: var(--contrast-color);
    font-size: 2rem;
}

.gallery-showcase .btn-gallery {
    background: linear-gradient(
        135deg,
        var(--accent-color),
        color-mix(in srgb, var(--accent-color), #000000 20%)
    );
    color: var(--contrast-color);
    border: none;
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gallery-showcase .btn-gallery:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
    color: var(--contrast-color);
    background: linear-gradient(
        135deg,
        color-mix(in srgb, var(--accent-color), #000000 10%),
        color-mix(in srgb, var(--accent-color), #000000 30%)
    );
}

.gallery-showcase .btn-gallery i {
    font-size: 1.2rem;
}

@media (max-width: 576px) {
    .gallery-showcase .btn-gallery {
        padding: 12px 28px;
        font-size: 1rem;
    }
}
