/* --- Thank You Page Body Styles --- */
.thank-you-page {
    /* Styles for the <main> element if needed */
}

.thank-you-outer-container { /* Wrapper for background color */
     padding: 40px 0; 
     background-color: #f8f9fc; /* Light grey-blue background */
     text-align: center;
     min-height: 60vh; /* Ensure decent height */
     display: flex; 
     align-items: center; 
     justify-content: center; 
     box-sizing: border-box; /* Include padding in height calculation */
}

.thank-you-container { /* Inner white box */
    background: white; 
    max-width: 600px;
    width: 90%; /* Allow shrinking on small screens */
    padding: 30px;
    border-radius: 10px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
    text-align: center; 
    margin: 20px auto; /* Center container and add margin */
}

.thank-you-header-icon { /* The checkmark circle */
    background: #00c2cb; /* Teal background */
    padding: 15px; 
    border-radius: 50%;
    width: 60px; /* Size */
    height: 60px;
    line-height: 28px; /* Vert align check */
    margin: 0 auto 20px; 
    color: white; 
    font-size: 30px; 
    font-weight: bold; 
    display: flex; 
    align-items: center;
    justify-content: center;
}

.thank-you-title { /* h1 */
    color: #1f355f; /* Dark blue */
    margin-bottom: 15px;
    font-size: 1.8rem; 
    font-weight: bold;
}

.thank-you-subtitle { /* First paragraph */
    margin-bottom: 30px; 
    color: #555; /* Medium grey */
    font-size: 1rem; /* Adjust size */
}

.thank-you-steps {
    display: flex;
    justify-content: space-around;
    margin: 30px 0;
    font-size: 13px; 
    flex-wrap: wrap; 
    gap: 15px 10px; /* Row and column gap */
    padding-bottom: 20px;
    border-bottom: 1px dashed #eee; 
}

.thank-you-step {
    text-align: center;
    color: #555; 
    flex: 1; 
    min-width: 90px; /* Min width before wrapping */
    padding: 0 5px; /* Add slight horizontal padding */
}

.thank-you-step .step-number {
    display: block;
    background: #00c2cb; /* Teal */
    color: white; 
    font-weight: bold; 
    width: 30px;
    height: 30px;
    line-height: 30px; /* Vertically center number */
    border-radius: 50%;
    margin: 0 auto 8px; /* Increased bottom margin */
}
.thank-you-step .step-label {
    display: block; 
    color: #1f355f; /* Darker text for label */
    font-weight: 500;
    font-size: 0.85rem;
}

.thank-you-info {
    text-align: left;
    background: #f1f5fc; /* Light blue background */
    padding: 20px;
    border-radius: 8px; 
    margin: 30px 0;
}

.thank-you-info .info-title {
    display: block;
    margin-bottom: 15px;
    color: #1f355f; 
    font-weight: bold; 
    font-size: 1.1rem; 
}

.thank-you-info .info-list {
    padding: 0;
    list-style: none;
    margin: 0;
}

.thank-you-info .info-list-item {
    margin-bottom: 10px;
    font-size: 14px; 
    display: flex;
    align-items: flex-start; /* Align icon with start of text */
    line-height: 1.5; /* Improve readability */
    color: #333; /* Darker text */
}

.thank-you-info .info-list-item:last-child {
    margin-bottom: 0;
}

.thank-you-info .info-icon {
    color: #00c2cb; /* Teal checkmark */
    margin-right: 8px;
    font-weight: bold;
    line-height: inherit; /* Match text line-height */
    flex-shrink: 0; /* Prevent icon shrinking */
}

.thank-you-help-box {
    background: #1f355f; /* Dark blue */
    color: white; 
    padding: 25px; /* More padding */
    border-radius: 8px; 
    margin: 30px 0;
    text-align: center;
}

.thank-you-help-box .help-box-title {
    display: block;
    margin-bottom: 10px;
    font-size: 1.2rem; /* Slightly larger */
    font-weight: bold;
}

.thank-you-help-box .help-box-text {
    margin-bottom: 15px;
    font-size: 0.9rem; 
    opacity: 0.9;
    line-height: 1.6;
}

.thank-you-help-box .help-box-phone {
    font-size: 1.6rem; /* Larger phone number */
    font-weight: bold; 
    margin-bottom: 20px; /* More space below */
    letter-spacing: 1px; /* Add spacing */
}

.thank-you-help-box .help-box-phone a {
    color: white; 
    text-decoration: none;
}
.thank-you-help-box .help-box-phone a:hover {
     opacity: 0.9;
 }

/* General button styles if needed elsewhere */
.btn {
    text-decoration: none;
    display: inline-block;
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: bold;
    margin: 5px;
    font-size: 14px;
    cursor: pointer;
    text-align: center;
    border: 1px solid transparent; 
    transition: all 0.3s ease;
}
.btn-secondary {
    background: white;
    color: #1f355f;
    border-color: #1f355f; 
}
.btn-secondary:hover {
     background-color: #f0f0f0;
     border-color: #1f355f;
}

/* Specific button in help box */
.thank-you-help-box .help-box-button.btn-secondary {
    /* Styles inherited from .btn and .btn-secondary */
    padding: 12px 30px; /* Make call button larger */
    border-radius: 30px; /* Make it pill-shaped */
    font-size: 1rem;
}
.thank-you-help-box .help-box-button.btn-secondary:hover {
    background-color: #f1f1f1;
    transform: translateY(-2px);
}

/* Media query for smaller screens */
@media (max-width: 640px) {
     .thank-you-outer-container {
         padding: 20px 0;
     }
     .thank-you-container {
         padding: 20px;
         margin: 10px;
         width: calc(100% - 20px);
     }
    .thank-you-title {
        font-size: 1.6rem;
    }
    .thank-you-subtitle {
         font-size: 0.95rem;
         margin-bottom: 25px;
    }
    .thank-you-steps {
        flex-direction: column;
        align-items: center;
        gap: 25px;
         margin: 25px 0;
         padding-bottom: 25px;
    }
    .thank-you-step {
        width: 100%;
        flex-direction: row; /* Put number and label side-by-side */
        align-items: center;
        justify-content: center; /* Center items horizontally */
        min-width: 0; /* Reset min-width */
        text-align: left; /* Align label text left */
    }
    .thank-you-step .step-number {
        margin: 0 10px 0 0; /* Margin to the right of number */
        flex-shrink: 0; /* Prevent number shrinking */
    }
     .thank-you-step .step-label {
         display: inline; /* Allow label next to number */
     }
    /* Remove connector lines on mobile */
    .thank-you-step:not(:last-child):after {
        content: none; 
    }

     .thank-you-info, .thank-you-help-box {
         padding: 15px;
         margin: 25px 0;
     }
     .thank-you-info .info-title, .thank-you-help-box .help-box-title {
         font-size: 1.0rem;
     }
     .thank-you-info .info-list-item {
         font-size: 13px;
     }
      .thank-you-help-box .help-box-phone {
         font-size: 1.4rem;
     }
     .thank-you-help-box .help-box-button.btn-secondary {
         padding: 10px 25px;
         font-size: 0.9rem;
     }
}