/* Giao diện Form Quản Lý Hợp Đồng */

:root {
    --qlhd-primary-color: #0073aa; /* Màu xanh dương đặc trưng của WordPress */
    --qlhd-success-color: #28a745;
    --qlhd-border-color: #ccd0d4;
    --qlhd-label-color: #333;
    --qlhd-input-bg: #fff;
    --qlhd-input-focus-border: #005f8c;
    --qlhd-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

#qlhd-customer-form {
    font-family: var(--qlhd-font-family);
    background: #f9f9f9;
    border: 1px solid var(--qlhd-border-color);
    padding: 25px;
    border-radius: 8px;
    max-width: 700px;
    margin: 20px auto;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

#qlhd-customer-form p {
    margin-bottom: 20px;
}

#qlhd-customer-form label {
    display: block;
    font-weight: 600;
    color: var(--qlhd-label-color);
    margin-bottom: 8px;
}

#qlhd-customer-form input[type="text"],
#qlhd-customer-form input[type="tel"],
#qlhd-customer-form input[type="date"],
#qlhd-customer-form input[type="number"],
#qlhd-customer-form input[type="email"],
#qlhd-customer-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--qlhd-border-color);
    border-radius: 4px;
    background-color: var(--qlhd-input-bg);
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#qlhd-customer-form input:focus-visible,
#qlhd-customer-form textarea:focus-visible {
    outline: none;
    border-color: var(--qlhd-input-focus-border);
    box-shadow: 0 0 0 1px var(--qlhd-input-focus-border);
}

#qlhd-customer-form hr {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 30px 0;
}

#qlhd-customer-form input[type="submit"] {
    display: inline-block;
    background-color: var(--qlhd-primary-color);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 25px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

#qlhd-customer-form input[type="submit"]:hover {
    background-color: var(--qlhd-input-focus-border);
    transform: translateY(-1px);
}

.qlhd-success-message {
    background-color: #f0fff4;
    color: var(--qlhd-success-color);
    border: 1px solid #c3e6cb;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

@media (max-width: 600px) {
    #qlhd-customer-form {
        padding: 15px;
    }
}
