﻿/* Reset */
/** {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}
*/
/* Container */
.container {
    max-width: 900px;
    margin: auto;
    padding: 20px;
}

/* Title */
.title {
    text-align: center;
    margin-bottom: 25px;
    font-size: 26px;
    color: #333;
}

/* Card */
.card {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.08);
}

/* Form layout */
.form-row {
    display: flex;
    gap: 20px;
}

.col {
    flex: 1;
}

.btn-col {
    flex: 0.4;
}

/* Label */
label {
    font-weight: bold;
    margin-bottom: 8px;
    display: block;
}

/* Input */
.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #bbb;
    border-radius: 4px;
    font-size: 15px;
}

    .form-control:focus {
        outline: none;
        border-color: #007bff;
    }

/* Button */
.btn {
    width: 100%;
    padding: 11px 15px;
    background: #0d6efd;
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

    .btn:hover {
        background: #0b5ed7;
    }

/* Thông báo */
.notify {
    display: block;
    margin-top: 15px;
    text-align: center;
    font-size: 16px;
    color: red;
}

/* Kết quả */
.result-title {
    font-size: 20px;
    margin-bottom: 10px;
}

/* Table */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

    .table th,
    .table td {
        padding: 10px;
        border: 1px solid #ddd;
    }

    .table th {
        background: #f3f3f3;
        font-weight: bold;
    }

    .table tr:hover {
        background: #fafafa;
    }

/* Responsive */
@media (max-width: 768px) {
    .form-row {
        flex-wrap: wrap;
    }

    .btn-col {
        flex: 1;
    }
}
