
.register-page {
    background-color: none;
}

.card {
    border-radius: 8px;
    border: none;
    margin-bottom: 30px;
}

.card-body {
    padding: 2rem;
}

.form-control {
    height: 45px;
    border-radius: 4px;
}

.icon {
    color: white;
    opacity: 0.9;
}

.description h3 {
    color: white;
    font-size: 24px;
    margin-bottom: 8px;
}

.description p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    line-height: 1.5;
}

.custom-checkbox .custom-control-label::before {
    border-radius: 2px;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    color: #51bcda;
    font-weight: 600;
    transition: all 0.3s ease;
}

.step-circle.active {
    background-color: #17a2b8;
    color: white;
}

.step-circle.completed {
    background-color: #28a745;
    color: white;
}

.step-label {
    font-size: 14px;
    color: #6c757d;
}

.form-step {
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.form-section-title {
    color: #51bcda;
    font-size: 1.1rem;
    font-weight: 600;
    position: relative;
    padding-left: 15px;
    border-left: 3px solid #51bcda;
}

.invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 80%;
    color: #dc3545;
}

/* Improving spacing in business form */
#business_fields .form-group {
    margin-bottom: 1rem;
}

#business_fields h5 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

/* First section title should not have a top margin */
#business_fields h5:first-of-type {
    margin-top: 0.5rem;
}

.card-footer-links {
    padding: 1rem 0;
    margin-top: 1rem;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.text-center.mt-3 {
    padding: 1rem 0;
    margin-top: 1rem !important;
    position: relative;
    z-index: 10; /* Ensure clickability */
}

.btn {
    margin: 0.25rem;
    position: relative;
    z-index: 5;
}

.d-flex.justify-content-between.mt-4 {
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.benefits-heading {
    margin-bottom: 3rem;
}

.benefits-heading h2 {
    font-size: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.heading-underline {
    width: 100px;
    height: 3px;
    background-color: #ff6b6b;
    margin: 0 auto;
    margin-top: 10px;
}

.register-page {    
    /* Reset box-sizing for form elements that need it */
    .form-control,
    .btn,
    .custom-control,
    .alert {
        box-sizing: border-box;
    }
}


@media (max-width: 768px) {
    .card-body {
        padding: 1.5rem;
    }
    
    .text-center.mt-3 {
        padding: 0.75rem 0;
    }
    
    /* Increase touch target size on mobile */
    .text-center.mt-3 a {
        padding: 0.5rem;
        display: inline-block;
    }

    .register-page .footer-black.footer-white {
        display: none;
        margin-bottom: 30px;
        position: relative;
    }
}

/* Device-specific fixes */
@supports (-webkit-overflow-scrolling: touch) {
    /* iOS devices */
    .content {
        -webkit-overflow-scrolling: touch;
    }
}

@supports not (-webkit-overflow-scrolling: touch) {
    /* Non-iOS devices */
    .content {
        overflow-y: auto;
    }
}

/* Navigation bar specific */
.navbar-expand-lg {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.navbar-absolute {
    position: absolute;
    z-index: 1033;
    width: 100%;
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
}


.is-validating {
    background-color: #f8f9fa;
    border-color: #ced4da;
}

.validating-feedback {
    color: #6c757d;
    font-size: 0.875em;
    margin-top: 0.25rem;
}

.is-valid {
    border-color: #198754;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
    padding-right: calc(1.5em + 0.75rem) !important;
}

.is-invalid {
    border-color: #dc3545;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
    padding-right: calc(1.5em + 0.75rem) !important;
}

.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}

.invalid-feedback.show {
    display: block;
}