﻿body {
    background: #fff;
    overflow-x: hidden;
}

.pad1 {
    padding: 10px;
}

.card {
    border: none;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid #ddd;
    /*box-shadow: 0 4px 15px rgba(0,0,0,0.1);*/
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #f5f5f5;
    text-align: center;
}


    .card:hover {
        transform: translateY(-8px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    }

.card-img-top {
    border-bottom: 1px solid #eee;
    transition: transform 0.4s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

.card-body {
    padding: 10px 0px;
    text-align: center;
}

.card-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    text-align: center;
    font-size: 15px;
}

.card-text {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 5px;
    text-align: center;
    padding: 5px 0px;
    font-weight: 600;
    font-size: 16px;
}

.form-control {
    display: inline-block;
    text-align: center;
    border-radius: 8px;
    border: 1px solid #ccc;
    margin-left: 5px;
}

.btn {
    border-radius: 5px;
    padding: 6px 15px;
    font-size: 1.3rem;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #007bff, #0056d2);
    border: none;
}

    .btn-primary:hover {
        background: linear-gradient(135deg, #0056d2, #0041a8);
        transform: translateY(-2px);
    }

.btn-success {
    background: linear-gradient(135deg, #28a745, #1e7e34);
    border: none;
}

    .btn-success:hover {
        background: linear-gradient(135deg, #1e7e34, #155d27);
        transform: translateY(-2px);
    }

@media (max-width: 768px) {
    .card {
        width: 100% !important;
        margin-right: 0 !important;
        margin-bottom: 20px;
    }
}

.quan {
    display: inline-block !important;
}

