/* ------------------------------------
   WRAPPER / CARD / HEADER
------------------------------------ */
.af-form-wrapper {
    max-width: 1100px;
    width: 100%;
    margin: 40px auto;
}

.beautiful-card {
    border-radius: 10px;
    overflow: hidden;
    background: #ffffff;
}

.beautiful-card-header {
    background: #a10d18;
    padding: 20px;
    color: #fff;
}

.beautiful-card-header h4 {
    color: #fff !important;
    font-weight: 600;
}

/* ------------------------------------
   LABELS & REQUIRED MARK
------------------------------------ */
.aform-label {
    display: block;
    margin-top: 18px;
    margin-bottom: 6px;
    font-weight: 600;
    color: #333;
    font-size: 15px;
}

.required-star {
    color: red;
    margin-left: 3px;
    font-size: 16px;
}

/* ------------------------------------
   INPUTS - Clean, consistent styling
------------------------------------ */
.af-form-wrapper .form-control {
    width: 90% !important;
    display: inline-block !important;
}
.af-input {
    border: none !important;
    border-bottom: 2px solid #999 !important;
    border-radius: 0 !important;
    font-size: 16px !important;
    margin-bottom: 20px !important;
    padding: 6px 2px !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Placeholder style */
.af-input::placeholder {
    color: #888 !important;
}

/* On focus */
.af-input:focus {
    border-bottom: 2px solid #a10d18 !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Remove autocomplete yellow background */
input.af-input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}

/* For fullname row spacing */
.fullname-row .af-input {
    margin-bottom: 5px !important;
}

/* ------------------------------------
   FULL NAME ROW
------------------------------------ */
.fullname-row input {
    margin-bottom: 0 !important;
}

.fullname-row .col {
    margin-bottom: 14px;
}

/* ------------------------------------
   OPTION GROUPS (Radio + Checkbox)
------------------------------------ */
.option-group {
    margin: 10px 0 16px 0;
}

.option-item {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
    font-size: 15px;
    cursor: pointer;
}

.option-item input {
    margin-right: 8px;
    transform: scale(1.1);
}

/* ------------------------------------
   STATIC TEXT BLOCKS
------------------------------------ */
.static-text {
    margin: 15px 0;
    font-size: 15px;
    color: #444;
    line-height: 1.6;
}

/* ------------------------------------
   SIGNATURE PAD
------------------------------------ */
.signature-wrapper {
    margin: 12px 0 20px 0;
}

.sigPad {
    height: 200px;
    border: 2px solid #ddd;
    border-radius: 6px;
    background: #fafafa;
}

.sig-clear-btn {
    margin-top: 8px;
}
.sigPad {
     border-style: dashed;
    border-width: 2px;
    border-color: rgb(221, 221, 221);
    background-color: rgb(255, 255, 255);
    cursor: url(https://citcwa.dkode.technology/assets/img/pen.ico), pointer;
    touch-action: none;
    user-select: none;

}
/* ------------------------------------
   SUBMIT BUTTON
------------------------------------ */
.beautiful-submit-btn {
    padding: 12px;
    margin-top: 20px;
    font-size: 16px;
    border-radius: 6px;
    background: #a10d18;
    border: none;
}

.beautiful-submit-btn:hover {
    background: #7d0b14;
}

/* ------------------------------------
   ERROR STYLES (Validation)
------------------------------------ */
.error-field {
    border: 1px solid red !important;
}

.error-msg {
    color: red;
    font-size: 13px;
}
/* Outer wrapper */
.af-wrapper {
    width: 100%;
    padding: 40px 60px;
}

/* Title EXACT like screenshot */
.af-title {
font-style: normal;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
    letter-spacing: -2px;
    background-color: #a00f18;
    padding: 10px 0px 10px;
    margin: 10px 0px 60px;
    text-align: center;
    --qode-cf-font-size: 35px;
    --qode-cf-line-height: 40px;
    --qode-cf-font-size-1440: 35px;
    --qode-cf-line-height-1440: 40px;
    --qode-cf-font-size-1366: 35px;
    --qode-cf-line-height-1366: 40px;
    --qode-cf-font-size-1280: 35px;
    --qode-cf-line-height-1280: 40px;
    --qode-cf-font-size-1024: 35px;
    --qode-cf-line-height-1024: 40px;
    --qode-cf-font-size-768: 35px;
    --qode-cf-line-height-768: 40px;
    --qode-cf-font-size-680: 35px;
    --qode-cf-line-height-680: 40px;
    --qode-cf-font-size-480: 35px;
    --qode-cf-line-height-480: 40px;
}

/* Prevent auto centering */
.af-row {
    margin-left: 0;
    margin-right: 0;
}

/* Column spacing */
.af-col {
    margin-bottom: 45px;
}

/* Link wrapper */
.af-item {
    text-decoration: none;
    display: block;
}

/* DARK LARGE TILE BOX — matches screenshot */
.af-box {
    background: #1a1a1a;
    color: #fff;
    padding: 40px 30px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.25);
    transition: 0.25s ease-out;
}

/* Hover like screenshot */
.af-box:hover {
    background: #2a2a2a;
    transform: translateY(-5px);
    box-shadow: 0px 7px 20px rgba(0,0,0,0.35);
}
