﻿.card-container {
    margin-top: 20px;
}

.card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-bottom: 25px;
    overflow: hidden;
    border: none;
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    }

@media (min-width: 768px) {
    .card {
        margin: 15px;
    }
}

.card-header-line {
    height: 6px;
}

    .card-header-line.red {
        background-color: #ef4444;
    }

    .card-header-line.blue {
        background-color: #3b82f6;
    }

    .card-header-line.green {
        background-color: #22c55e;
    }

.card-content {
    padding: 25px;
}

.card-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}
#modalEduPDF .modal-dialog {
    max-width: 95vw; /* smaller on mobile */
    margin: auto;
}

#modalEduPDF .modal-body {
    max-height: 65vh; /* only body scrolls */
    overflow-y: auto;
}

/* Scale PDF pages */
#pdfViewer canvas {
    display: block;
    margin: 0 auto 10px auto;
    max-width: 100%;
    height: auto;
}
.btn-card {
    border: 1px solid transparent;
    color: white;
    padding: 8px 16px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    border-radius: 25px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    margin-left: 10px;
}

    .btn-card.green {
        background-color: #22c55e;
        border-color: #22c55e;
    }

        .btn-card.green:hover {
            background-color: #1a9c47;
            border-color: #1a9c47;
        }

    .btn-card.red {
        background-color: #ef4444;
        border-color: #ef4444;
    }

        .btn-card.red:hover {
            background-color: #d83b3b;
            border-color: #d83b3b;
        }

    .btn-card.blue {
        background-color: #3b82f6;
        border-color: #3b82f6;
    }

        .btn-card.blue:hover {
            background-color: #2f6cb5;
            border-color: #2f6cb5;
        }

    .btn-card:hover {
        color: white;
    }

.row-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 0px solid #e0e0e0;
}

    .row-item:last-child {
        border-bottom: none;
    }

    .row-item .item-text {
        display: flex;
        align-items: center;
        font-size: 16px;
        color: #555;
    }

        .row-item .item-text span {
            margin-right: 12px;
            font-size: 18px;
        }
