/**
 * Ngay Lanh Frontend Styles
 */

.ngay-lanh-wrapper {
    max-width: 100%;
    margin: 20px 0;
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.ngay-lanh-wrapper h3 {
    margin-top: 0;
    color: #333;
    border-bottom: 2px solid #e74c3c;
    padding-bottom: 10px;
}

.ngay-lanh-wrapper > div {
    margin-bottom: 20px;
}

.ngay-lanh-hours-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.ngay-lanh-hours-table th,
.ngay-lanh-hours-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.ngay-lanh-hours-table th {
    background-color: #e74c3c;
    color: white;
    font-weight: bold;
}

.ngay-lanh-hours-table tr:nth-child(even) {
    background-color: #f2f2f2;
}

.ngay-lanh-hours-table tr:hover {
    background-color: #e8e8e8;
}

.ngay-lanh-hours-table tr.current-hour {
    background-color: #fff3cd;
    font-weight: bold;
}

.ngay-lanh-simple {
    padding: 10px;
    background: #f0f0f0;
    border-left: 4px solid #e74c3c;
    margin: 10px 0;
}

.ngay-lanh-simple .solar {
    font-weight: bold;
    color: #e74c3c;
}

.ngay-lanh-simple .lunar {
    color: #27ae60;
}

.ngay-lanh-simple .canchi {
    color: #2980b9;
    font-style: italic;
}

.ngay-lanh-today {
    background: #fff;
    border: 2px solid #e74c3c;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    margin: 20px 0;
}

.ngay-lanh-today h3 {
    color: #e74c3c;
    margin-bottom: 10px;
}

.ngay-lanh-today p {
    margin: 5px 0;
    font-size: 16px;
}

.ngay-lanh-lookup-form {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    margin: 20px 0;
}

.ngay-lanh-lookup-form label {
    display: inline-block;
    margin-right: 10px;
    font-weight: bold;
}

.ngay-lanh-lookup-form input[type="date"] {
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
    margin-right: 10px;
}

.ngay-lanh-lookup-form button {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 6px 20px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 16px;
}

.ngay-lanh-lookup-form button:hover {
    background: #c0392b;
}

#ngay-lanh-lookup-result {
    margin-top: 20px;
}

.lookup-result {
    background: white;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.lookup-result h4 {
    color: #e74c3c;
    margin-top: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .ngay-lanh-hours-table {
        font-size: 14px;
    }
    
    .ngay-lanh-hours-table th,
    .ngay-lanh-hours-table td {
        padding: 5px;
    }
    
    .ngay-lanh-lookup-form input[type="date"],
    .ngay-lanh-lookup-form button {
        display: block;
        width: 100%;
        margin: 10px 0;
    }
}