/* ===============================
   download-dependencies Section
================================= */
#download-dependencies {
    padding: 60px 0;
    background-color: #f9fafb;
}

/* Section heading */
#download-dependencies .section-heading h2 {
    font-weight: 700;
    margin-bottom: 10px;
}

/* ===============================
   Card styling
================================= */
#download-dependencies .card {
    border: none;
    border-radius: 14px;
    background-color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#download-dependencies .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
}

#download-dependencies .card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 30px;
}

#download-dependencies .card-title {
    font-weight: 700;
    color: #212529;
}

#download-dependencies .card-text {
    color: #6c757d;
    font-size: 15px;
    line-height: 1.6;
}

/* ===============================
   Buttons
================================= */
#download-dependencies .btn {
    border-radius: 8px;
    padding: 10px 22px;
    font-weight: 600;
}

/* Custom green buttons */
#download-dependencies .btn-success-custom {
    background-color: #28a745;
    border-color: #28a745;
    color: #ffffff;
    min-width: 200px;
}

#download-dependencies .btn-success-custom:hover {
    background-color: #218838;
    border-color: #1e7e34;
    color: #ffffff;
}

/* ===============================
   JAR row
================================= */
#download-dependencies .jar-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    font-family: monospace;
}

#download-dependencies .jar-file-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

#download-dependencies .jar-name {
    font-size: 14px;
    color: #495057;
    white-space: nowrap;
}

#download-dependencies .copy-icon {
    width: 18px;
    height: 18px;
    margin-left: auto;
    cursor: pointer;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

#download-dependencies .copy-icon:hover {
    transform: scale(1.15);
    opacity: 0.85;
}

#download-dependencies .copy-icon.copied {
    opacity: 0.6;
    cursor: default;
}

/* ===============================
   Download link
================================= */
#download-dependencies .jdbc-actions {
    margin-top: 6px;
    text-align: center;
}

#download-dependencies .jdbc-actions a {
    font-size: 13px;
    font-weight: 600;
    color: #28a745;
    text-decoration: none;
}

#download-dependencies .jdbc-actions a:hover {
    text-decoration: underline;
    color: #218838;
}

/* ===============================
   Footer note
================================= */
#download-dependencies .text-muted {
    font-size: 14px;
}

/* ===============================
   Mobile adjustments
================================= */
@media (max-width: 767px) {
    #download-dependencies {
        padding: 40px 0;
    }

    #download-dependencies .card-body {
        padding: 24px;
    }

    #download-dependencies .jar-name {
        font-size: 13px;
    }
}

/* ===============================
   Carousel wrapper (one item visible)
================================= */
.jdbc-carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px; /* card width */
    margin: 0 auto;
    overflow: hidden;
    background: #f8f9fa;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    padding: 20px 21px; /* space for arrows */
}

.jdbc-carousel {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
}

.jdbc-carousel .jdbc-item {
    min-width: 100%;
    flex-shrink: 0;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 14px 20px;
}

/* Carousel arrows */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-85%);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: none;
    background-color: #4564b2;
    color: white;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.carousel-btn:hover {
    background-color: #3553a0;
}

.carousel-btn.left { left: 5px; }
.carousel-btn.right { right: 5px; }

.jdbc-dots {
    display: flex;
    justify-content: center;
    margin-top: 12px;
}

.jdbc-dots span {
    width: 10px;
    height: 10px;
    margin: 0 6px;
    background-color: #cfd8dc;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.jdbc-dots span.active {
    background-color: #4564b2; /* match your green button */
    transform: scale(1.3);
}
