/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}/* CSS cho trang tra cứu bảo hành */
@media(min-width:767px){
.warranty-status.active {
    width: 20%;
	}
}
.warranty-lookup-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.warranty-lookup-form {
    text-align: center;
}

.form-group {
    margin-bottom: 15px;
}

.form-group input[type="text"],
.form-group select {
	font-weight:500;
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}
#search_term::placeholder {
    color: #adadad;
    font-style: italic;
    font-weight: 400;
    font-size:14px;
}

.lookup-button {
       background-color: #e02a27;
    color: white;
    border: none;
    padding: 0px 10px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
	    margin-bottom: 0;
}

.lookup-button:hover {
    background-color: #000;
}
form#warrantyLookupForm {
    margin-bottom: 0;
}

.warranty-results {
    margin-top: 30px;
    text-align: left;
}

.warranty-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.warranty-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 15px;
}
.warranty-status {
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 14px;
}

.warranty-status.active {
    background-color: #4CAF50;
    color: white;
}

.warranty-status.inactive {
    background-color: #f44336;
    color: white;
}

.detail-row {
    display: flex;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #eee;
}

.detail-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.detail-row .label {
	    font-size: 16px;
    font-weight: bold;
    width: 40%;
    color: #555;
}

.detail-row .value {
     font-weight: 600;
    flex: 1;
    color: #000000;
    font-size: 18px;
}

.loading {
    text-align: center;
    padding: 20px;
    color: #2a6496;
}

.error {
    color: #f44336;
    padding: 15px;
    background: #ffebee;
    border-radius: 4px;
    text-align: center;
}
