/* General layout styling */
.row {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    padding: 20px;
    flex-wrap: wrap;
}

.card {
    border: 1px solid #00827f;
    border-radius: 10px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    width: 100%;
    max-width: 350px;
    margin-bottom: 20px;
}

.card-header {
    background-color: #00827f;
    padding: 15px;
    color: #fff;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
}

.card-body {
    padding: 20px;
    background: #f8f9fa;
}

.card-body b {
    font-weight: bold;
}

.card-body i {
    color: #007bff;
}

.card-body .custom-content {
    padding: 10px;
    margin-bottom: 15px;
    background: #ebb582;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.5;
}

/* Select and Input Styling */
.form-control {
    border-radius: 5px;
    padding: 8px;
    margin-bottom: 15px;
    width: 100%;
}

button.btn {
    width: 100%;
    padding: 12px;
    background-color: #196017;
    color: #fff;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

button.btn:hover {
    background-color: #006f5f;
}

.total_price {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    background-color: #071952;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
}

/* History card styling */
.history-card {
    border: solid #7d2f22;
    border-radius: 20px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    width: 100%;
    max-width: 350px;
    margin-bottom: 20px;
}

.history-header {
    background: #732518;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    padding: 15px;
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
}

.history-header h3 {
    margin: 0;
    padding-left: 15px;
}

.table-striped td {
    height: 20px;
    vertical-align: middle;
}

/* Responsive Design */
@media (max-width: 768px) {
    .row {
        flex-direction: column;
    }

    .card, .history-card {
        width: 100%;
        max-width: 100%;
    }
}