/* ChipXpert Plugin Styles */
.cx-card { background: #fff; border: 1px solid #ccd0d4; box-shadow: 0 1px 1px rgba(0,0,0,.04); padding: 20px; margin-top: 20px; border-radius: 4px; }

/* Modal Styling */
.cx-modal { display:none; position:fixed; z-index:10000; left:0; top:0; width:100%; height:100%; background:rgba(0,0,0,0.6); overflow-y: auto; }
.cx-modal-content { background:#fff; margin:2% auto; padding:0; width:650px; border-radius:8px; overflow:hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.3); animation: cxFadeIn 0.3s; }

.cx-modal-header { background:#f8f9fa; padding:15px 20px; border-bottom:1px solid #ddd; display:flex; justify-content:space-between; align-items:center; }
.cx-modal-body { padding:25px; }
.cx-modal-footer { background:#f8f9fa; padding:15px 20px; border-top:1px solid #ddd; text-align:right; }

/* Grid Layout */
.cx-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cx-full { grid-column: span 2; }

.cx-modal-body label { font-weight: 600; display: block; margin-bottom: 8px; color: #32373c; font-size: 13px; }
.cx-modal-body input, .cx-modal-body select, .cx-modal-body textarea { 
    width: 100%; padding: 10px; border: 1px solid #8c8f94; border-radius: 4px; font-size: 14px; box-sizing: border-box; 
}

.status-badge { padding: 5px 10px; border-radius: 3px; font-size: 10px; font-weight: bold; text-transform: uppercase; }
.status-active { background: #e7f9ed; color: #207d45; border: 1px solid #c3e6cb; }

/* Public Enquiry Form Styling */
.chipxpert-form-container {
    max-width: 550px;
    margin: 40px auto;
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    border-top: 5px solid #007bff; /* ChipXpert Blue */
}

.chipxpert-form-container h2 {
    text-align: center;
    color: #333;
    margin-bottom: 25px;
    font-weight: 700;
}

.cx-form-group {
    margin-bottom: 18px;
}

.cx-form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 18px;
}

.cx-form-row > div {
    flex: 1;
}

.chipxpert-form-container input[type="text"],
.chipxpert-form-container input[type="email"],
.chipxpert-form-container select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    outline: none;
    background-color: #f9f9f9;
}

.chipxpert-form-container input:focus,
.chipxpert-form-container select:focus {
    border-color: #007bff;
    background-color: #fff;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.2);
}

.chipxpert-form-container label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    margin-bottom: 5px;
}

.chipxpert-form-container label span {
    color: #d9534f; /* Red Asterisk */
}

.cx-submit-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cx-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
}

.cx-submit-btn:active {
    transform: translateY(0);
}

/* Responsive for Mobile */
@media (max-width: 480px) {
    .cx-form-row {
        flex-direction: column;
        gap: 18px;
    }
}

@keyframes cxFadeIn { from {opacity: 0; transform: translateY(-20px);} to {opacity: 1; transform: translateY(0);} }