
/* download/article css */

/* ===== PAGE BACKGROUND ===== */
body {
    background: linear-gradient(135deg, #eef2ff, #f8fafc);
    font-family: 'Segoe UI', sans-serif;
}

/* ===== MAIN CONTAINER CARD ===== */
.downloadg {
    width: 90%;
    margin: 40px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.10);
    position: relative;
    overflow: hidden;
}

/* TOP GRADIENT ACCENT */
.downloadg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #4f46e5, #06b6d4, #10b981);
}

/* ===== TABLE STYLE ===== */
.dtable {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #f9fbff;
    border-radius: 14px;
    overflow: hidden;
}

/* TABLE HEADER */
.dtable thead {
    background: linear-gradient(135deg, #4f46e5, #6366f1);
}

.dtable th {
    padding: 16px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-align: left;
    letter-spacing: 0.5px;
}

/* TABLE BODY */
.dtable td {
    padding: 14px 16px;
    font-size: 14px;
    color: #333;
    border-bottom: 1px solid #e5e7eb;
    line-height: 1.5;
}

/* ALTERNATE ROWS */
.dtable tbody tr:nth-child(even) {
    background: #f1f5ff;
}

/* ROW HOVER */
.dtable tbody tr:hover {
    background: #e0e7ff;
    transition: 0.25s ease;
}

/* REMOVE LAST BORDER */
.dtable tr:last-child td {
    border-bottom: none;
}

/* ===== TEXT LINKS (CLEAN + MODERN) ===== */
.dtable td a {
    color: #0ea5a4; /* teal fresh color */
    font-weight: 500;
    text-decoration: none;
    position: relative;
    padding-bottom: 2px;
    transition: color 0.3s ease;
}

/* underline animation */
.dtable td a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, #06b6d4, #10b981);
    transition: width 0.3s ease;
}

/* hover */
.dtable td a:hover {
    color: #059669;
}

.dtable td a:hover::after {
    width: 100%;
}

/* ===== DOWNLOAD BUTTON STYLE (optional class if used) ===== */
.dtable td a.download-btn {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* button hover */
.dtable td a.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(239,68,68,0.3);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .downloadg {
        width: 95%;
        padding: 20px;
    }

    .dtable th,
    .dtable td {
        padding: 10px;
        font-size: 13px;
    }
}
