
body {
    font-family: Arial, sans-serif;
    background: #f5f6fa;
    margin: 0;
    padding: 24px;
}

.form-wrapper {
    background: #fff;
    max-width: 800px;
    margin: 0 auto;
    padding: 24px;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

h2 {
    margin: 0 0 16px;
    color: #333;
    text-align: center;
}

p.sub {
    margin: 0 0 20px;
    text-align: center;
    color: #666;
    font-size: 14px;
}

table {
    width: 50%;
    border-collapse: collapse;
}

colgroup col:first-child {
    width: 35%;
}

colgroup col:last-child {
    width: 65%;
}

td {
    padding: 10px 8px;
    vertical-align: middle;
}

td.label {
    font-weight: 600;
    color: #222;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cfd4dc;
    border-radius: 6px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.15s ease;
    box-sizing: border-box;
    background: #fff;
}

textarea {
    resize: vertical;
    min-height: 90px;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #2f8cff;
    box-shadow: 0 0 0 3px rgba(47, 140, 255, 0.15);
}

.error {
    display: block;
    color: #c0392b;
    font-size: 12px;
    margin-top: 6px;
}

.invalid {
    border-color: #c0392b !important;
    box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.15) !important;
}

.actions {
    text-align: right;
    padding-top: 8px;
}

button {
    appearance: none;
    border: none;
    background: #2f8cff;
    color: #fff;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
}

button.secondary {
    background: #e0e4ea;
    color: #1d2330;
    margin-right: 10px;
}

button:hover {
    filter: brightness(1.05);
}

@media (max-width: 640px) {
    td.label {
        display: block;
        padding-bottom: 4px;
    }

    td.input {
        display: block;
        padding-top: 0;
    }

    .actions {
        text-align: center;
    }

    button {
        width: 100%;
        margin-bottom: 10px;
    }

    button.secondary {
        margin-right: 0;
    }
}

.note {
    font-size: 12px;
    color: #555;
    margin-top: 6px;
    display: block;
}
div.success_msg {
  font-size: 25px;
  color:"blue";  
}