/* ===== Loyalty Plan Form - PhilLife Theme ===== */
form.agents-loyalty-form {
    max-width: 100%;
    margin: 30px auto;
    padding: 20px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #333;
    border-top: 6px solid #003366;
}

form.agents-loyalty-form table {
    width: 100%;
    border-collapse: collapse;
}

form.agents-loyalty-form td {
    padding: 10px;
    vertical-align: middle;
}

form.agents-loyalty-form td.label {
    font-weight: bold;
    color: #003366;
    background: #f9f9f9;
    width: 25%;
    border-right: 2px solid #d4af37;
}

form.agents-loyalty-form input,
form.agents-loyalty-form select,
form.agents-loyalty-form textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

form.agents-loyalty-form input:focus,
form.agents-loyalty-form select:focus,
form.agents-loyalty-form textarea:focus {
    border-color: #003366;
    box-shadow: 0 0 5px rgba(0,51,102,0.3);
    outline: none;
}

form.agents-loyalty-form small {
    font-size: 12px;
    color: #666;
}

form.agents-loyalty-form p {
    margin: 15px 0;
}

form.agents-loyalty-form button {
    display: inline-block;
    background: #003366;
    color: white;
    border: none;
    padding: 10px 18px;
    font-size: 15px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.1s ease;
}

form.agents-loyalty-form button:hover {
    background: #002244;
    transform: translateY(-1px);
}

form.agents-loyalty-form button:active {
    background: #001122;
    transform: translateY(0);
}

/* Gold Divider for Premium Sections */
form.agents-loyalty-form tr:nth-child(1) td {
    background: #fdf8e4;
    font-weight: bold;
    color: #003366;
    border-bottom: 2px solid #d4af37;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    form.agents-loyalty-form table,
    form.agents-loyalty-form tr,
    form.agents-loyalty-form td {
        display: block;
        width: 100%;
    }

    form.agents-loyalty-form td.label {
        border-right: none;
        background: transparent;
        font-weight: bold;
        margin-top: 10px;
        border-bottom: 1px solid #d4af37;
    }
}
