body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

/* styles for validation helpers */
.field-validation-error {
    color: #b94a48;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #b94a48;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    color: #b94a48;
}

.validation-summary-valid {
    display: none;
}

.app-bg {
    background-image: url("../images/quotingWebAppBackground2.png");
    background-size: cover; /* scale to fill screen */
    background-position: center; /* keep subject centered */
    background-repeat: no-repeat;
    background-attachment: fixed; /* optional parallax effect */
}

footer {
    color: lightgrey;
    -webkit-text-stroke: 1px white;
}

.auto-grow-input {
    width: auto;
    min-width: 3ch;
}

.auto-grow-measure {
    position: absolute;
    visibility: hidden;
    white-space: pre;
    font: inherit;
}

/*.white-text {
    color: lightgrey;
    font-size: 24px;
    background: black;
}*/

/* ===== Home Page ===== */

.home-hero {
    margin-top: 2rem;
    padding: 3.5rem 1rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(64, 64, 64, 0.95) 0%, rgba(74, 144, 217, 0.15) 100%);
    border: 1px solid rgba(80, 80, 80, 0.6);
    border-radius: 0.75rem;
}

.home-hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #e8edf3;
    letter-spacing: 0.02em;
}

.home-hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    color: #a8b8cc;
    max-width: 640px;
    margin: 1rem auto 0;
}

/* Feature cards */
.home-card {
    background: rgba(64, 64, 64, 0.95);
    border: 1px solid rgba(74, 144, 217, 0.25);
    border-radius: 0.75rem;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-card:hover {
    transform: translateY(-6px);
    border-color: #4A90D9;
    box-shadow: 0 8px 24px rgba(74, 144, 217, 0.18);
}

.home-card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1;
}

.home-card-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #e8edf3;
    margin-bottom: 0.75rem;
}

.home-card-text {
    color: #a8b8cc;
    flex-grow: 1;
    margin-bottom: 1.25rem;
}

/* Accent button */
.home-btn {
    background-color: #4A90D9;
    color: #fff;
    border: none;
    border-radius: 0.4rem;
    padding: 0.5rem 1.25rem;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.home-btn:hover {
    background-color: #3a7bc8;
    color: #fff;
}

.home-btn-lg {
    padding: 0.65rem 2rem;
    font-size: 1.15rem;
}

/* Unauthenticated CTA */
.home-cta {
    background: rgba(64, 64, 64, 0.95);
    border: 1px solid rgba(74, 144, 217, 0.25);
    border-radius: 0.75rem;
    padding: 3rem 2rem;
    color: #a8b8cc;
}

.home-cta h2 {
    color: #e8edf3;
}
