body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    position: relative;
    z-index: 1;
    color: #343a40; /* Default text color for inside the card */
}

/* Blurred Background Container (Enhanced) */
.blurred-background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* You had a background image specified previously, if it's external, make sure the path is correct. */
    /* Example: background-image: url('../images/your-background-image.jpg'); */
    background-color: #c1e3e3; /* Dark gray with 75% opacity */
    background-blend-mode: multiply; /* Blends the color with the image */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: -1;
    filter: blur(5px);
    transform: scale(1.02); /* Slight scale to hide blur edges */
}

.wrapper-main {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    z-index: 2;
}

.page-wrapper {
    flex-grow: 1;
    padding: 40px 0;
    display: flex;
    justify-content: center;
    align-items: center; /* Center content vertically */
    padding-top: 100px; /* Adjust for header height from Header.jsp */
    padding-bottom: 40px;
}

/* Card Styling (Refined Shadow) */
.card-5 {
    background-color: #ffffff; /* Keep card white for strong content clarity */
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3); /* Slightly stronger and diffused shadow */
    padding: 40px;
    max-width: 600px; /* Max width for readability */
    width: 100%;
    box-sizing: border-box;
    text-align: center; /* Center form content */
}

.card-5 .card-body {
    padding: 0; /* Bootstrap card body already has padding, customize as needed */
}

/* Heading Styling (Prominent) */
h2.title {
    color: #ffffff; /* Make the title white for contrast against dark background */
    text-shadow: 1px 1px 4px rgba(0,0,0,0.7); /* Add a strong shadow for readability */
    margin-bottom: 30px;
    font-weight: 700;
}
/* Override title color for h2 if it's INSIDE the white card */
.card-5 h2.title {
    color: #007bff; /* Revert to blue if inside card */
    text-shadow: none; /* Remove text-shadow for better look inside card */
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
    align-items: center; /* Vertically align items in the row */
}
.form-row .name {
    flex: 0 0 120px; /* Fixed width for labels */
    font-weight: 600;
    color: #495057;
    text-align: left;
    padding-right: 15px;
    box-sizing: border-box;
}
.form-row .value {
    flex: 1; /* Take remaining space */
}
/* Make name and value stack on small screens */
@media (max-width: 575.98px) {
    .form-row .name {
        flex: 0 0 100%;
        text-align: left;
        margin-bottom: 5px;
    }
    .form-row .value {
        flex: 0 0 100%;
    }
}

.input-group {
    width: 100%;
}

/* Input Field Styling (Focus Glow) */
.input--style-5 {
    display: block;
    width: 100%;
    padding: 10px 15px;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 5px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.input--style-5:focus {
    border-color: #00bcd4; /* Use a teal color for focus border */
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(0, 188, 212, 0.4); /* Glow effect for focus */
}

.label--block {
    display: block;
    text-align: left;
    margin-bottom: 10px;
    font-weight: 600;
    color: #495057;
}

/* Custom Radio Button Styling (adapted to Bootstrap's form-check) */
.form-check {
    display: flex; /* Use flexbox for alignment */
    align-items: flex-start; /* Align checkbox to the top of text */
    margin-bottom: 10px;
    padding-left: 0; /* Remove default Bootstrap padding, we'll use margin on input */
}
.form-check-input {
    margin-right: 10px; /* Space between radio and text */
    margin-top: 0.25em; /* Align vertically with text */
    flex-shrink: 0; /* Prevent input from shrinking */
}
.form-check-label {
    cursor: pointer;
    text-align: left;
    flex-grow: 1; /* Allow label to take available space */
}
.p-t-15 { /* This was in your original HTML, keeping its effect */
    padding-top: 15px;
    text-align: left; /* Align radio buttons to the left */
}

#dvtext {
    margin-top: 15px;
    text-align: left; /* Align this section to the left */
}
#dvtext span { /* Targeting the span for "Please enter unsubscribe reason" */
    display: block; /* Make it a block element to control margin */
    margin-bottom: 5px;
    font-weight: normal;
    color: #495057;
}

/* ----- Enhanced Button Styling (.btn-hero) ----- */
.btn-hero {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 40px;
    background: linear-gradient(90deg, #00bcd4, #2196f3); /* Your Cyan to Blue gradient */
    color: white;
    font-size: 1.25rem;
    border-radius: 30px; /* Pill-shaped */
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 5px 20px rgba(0, 188, 212, 0.6); /* Shadow based on the first gradient color */
    cursor: pointer; /* Ensures pointer cursor on hover */
    border: none; /* Explicitly remove any default border */
    /* Enhanced transition for all dynamic properties */
    transition: background 0.3s ease-in-out, transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.btn-hero:hover {
    background: linear-gradient(90deg, #2196f3, #00bcd4); /* Gradient direction reversed on hover */
    transform: translateY(-5px) scale(1.05); /* Lifts and slightly scales */
    box-shadow: 0 8px 30px rgba(33, 150, 243, 0.8); /* More pronounced shadow on hover */
}

.btn-hero:active {
    /* Darker version of the gradient when clicked for a "pressed" feel */
    background: linear-gradient(90deg, #0097a7, #1976d2); 
    transform: translateY(0) scale(1); /* Returns to original position/scale, simulating a press */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4); /* Smaller, more intense shadow when pressed */
}

.btn-hero:focus {
    outline: none; /* Remove default focus outline */
    /* Custom focus ring using box-shadow for accessibility */
    box-shadow: 0 0 0 0.25rem rgba(33, 150, 243, 0.5); 
}