/* Navbar Styles */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

/* Logo Styles */
.logo-img {
    height: 40px;
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-main {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    letter-spacing: 0.5px;
}

.logo-sub {
    font-size: 0.8rem;
    font-weight: 400;
    color: #000;
    margin-top: -2px;
}

/* Navigation Links */
.navbar-nav .nav-link {
    color: #333 !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    margin: 0 0.25rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: #dc3545 !important;
    background-color: rgba(220, 53, 69, 0.1);
}

.navbar-nav .nav-link.active {
    color: #dc3545 !important;
    background-color: rgba(220, 53, 69, 0.1);
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background-color: #dc3545;
    border-radius: 1px;
}

/* Dropdown Styles */
.dropdown-toggle::after {
    display: none;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    color: #333;
    font-weight: 500;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #dc3545;
}

/* CTA Button */
.cta-button {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border: none;
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.cta-button:hover {
    background: linear-gradient(135deg, #c82333 0%, #bd2130 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
}

/* Start Free Trial Button - Specific Styling */
.start-trial-btn {
    background: white;
    border: 2px solid #E62A38;
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    color: #E62A38;
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(230, 42, 56, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.start-trial-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #E62A38;
    transition: left 0.4s ease;
    z-index: -1;
}

.start-trial-btn:hover {
    color: white;
    border-color: #E62A38;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 42, 56, 0.4);
}

.start-trial-btn:hover::before {
    left: 0;
}

/* Chevron Icons */
.fas.fa-chevron-down {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.dropdown-toggle[aria-expanded="true"] .fas.fa-chevron-down {
    transform: rotate(180deg);
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: white;
        padding: 1rem;
        border-radius: 8px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        margin-top: 1rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem !important;
        margin: 0.25rem 0;
    }
    
    .navbar-nav .nav-link.active::after {
        display: none;
    }
    
    .cta-button {
        margin-top: 1rem;
        text-align: center;
        display: block;
    }
    
    .logo-main {
        font-size: 1.3rem;
    }
    
    .logo-sub {
        font-size: 0.7rem;
    }
}

@media (max-width: 576px) {
    .navbar {
        padding: 0.75rem 0;
    }
    
    .logo-img {
        height: 35px;
    }
    
    .logo-main {
        font-size: 1.2rem;
    }
    
    .logo-sub {
        font-size: 0.65rem;
    }
}

/* Smooth animations */
.navbar-nav .nav-item {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.navbar-nav .nav-item:nth-child(1) { animation-delay: 0.1s; }
.navbar-nav .nav-item:nth-child(2) { animation-delay: 0.2s; }
.navbar-nav .nav-item:nth-child(3) { animation-delay: 0.3s; }
.navbar-nav .nav-item:nth-child(4) { animation-delay: 0.4s; }
.navbar-nav .nav-item:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover effects for better UX */
.navbar-brand:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* Focus states for accessibility */
.nav-link:focus,
.dropdown-item:focus,
.cta-button:focus {
    outline: 2px solid #dc3545;
    outline-offset: 2px;
}

/* Start Free Trial Modal Styling - Modern Design */
#startTrialModal .modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transform: scale(0.7);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#startTrialModal.show .modal-content {
    transform: scale(1);
    opacity: 1;
}

#startTrialModal .modal-header {
    background: white;
    border: none;
    border-bottom: 1px solid #e8e8e8;
    border-radius: 12px 12px 0 0;
    padding: 1.5rem 2rem 1rem;
    position: relative;
    overflow: hidden;
}

#startTrialModal .modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(230, 42, 56, 0.1), transparent);
    transition: left 0.8s ease;
}

#startTrialModal .modal-header:hover::before {
    left: 100%;
}

#startTrialModal .modal-title {
    color: #2c3e50;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0;
    position: relative;
    z-index: 2;
}

#startTrialModal .btn-close {
    background: #E62A38;
    opacity: 1;
    border-radius: 50%;
    padding: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    box-shadow: none;
    border: none;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#startTrialModal .btn-close::before,
#startTrialModal .btn-close::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 2px;
    background-color: white;
    transition: all 0.3s ease;
}

#startTrialModal .btn-close::before {
    transform: rotate(45deg);
}

#startTrialModal .btn-close::after {
    transform: rotate(-45deg);
}

#startTrialModal .btn-close:hover {
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 6px 20px rgba(230, 42, 56, 0.5);
    background: #d42432;
}

#startTrialModal .btn-close:hover::before,
#startTrialModal .btn-close:hover::after {
    background-color: white;
}

#startTrialModal .btn-close:active {
    transform: rotate(90deg) scale(0.95);
}

#startTrialModal .modal-body {
    background: white;
    position: relative;
}

#startTrialModal .form-label {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: none;
    letter-spacing: normal;
    position: relative;
    display: block;
}

#startTrialModal .form-label::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #E62A38, #d42432);
    transition: width 0.3s ease;
}

#startTrialModal .form-control:focus + .form-label::after,
#startTrialModal .form-select:focus + .form-label::after {
    width: 100%;
}

#startTrialModal .form-control,
#startTrialModal .form-select {
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: white;
    box-shadow: none;
    box-shadow: none;
    position: relative;
    overflow: hidden;
}

#startTrialModal .form-control::before,
#startTrialModal .form-select::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(230, 42, 56, 0.05), transparent);
    transition: left 0.6s ease;
}

#startTrialModal .form-control:hover::before,
#startTrialModal .form-select:hover::before {
    left: 100%;
}

#startTrialModal .form-control:hover,
#startTrialModal .form-select:hover {
    border-color: #E62A38;
    transform: none;
    box-shadow: 0 2px 8px rgba(230, 42, 56, 0.1);
}

#startTrialModal .form-control:focus,
#startTrialModal .form-select:focus {
    border-color: #E62A38;
    box-shadow: 0 0 0 4px rgba(230, 42, 56, 0.1);
    outline: none;
    transform: translateY(-2px);
}

#startTrialModal .submit-btn {
    background: #E62A38;
    border: none;
    border-radius: 6px;
    padding: 0.875rem 2.5rem;
    font-weight: 600;
    color: white;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: none;
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    width: 100%;
}

#startTrialModal .submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

#startTrialModal .submit-btn:hover {
    background: #d42432;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(230, 42, 56, 0.3);
    color: white;
}

#startTrialModal .submit-btn:hover::before {
    left: 100%;
}

#startTrialModal .submit-btn:active {
    transform: translateY(-2px) scale(0.98);
}

/* Form row animations */
#startTrialModal .row {
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.6s ease forwards;
}

#startTrialModal .row:nth-child(1) { animation-delay: 0.1s; }
#startTrialModal .row:nth-child(2) { animation-delay: 0.2s; }
#startTrialModal .row:nth-child(3) { animation-delay: 0.3s; }

#startTrialModal .text-center {
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.6s ease 0.4s forwards;
}

/* Keyframe animations */
@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Modal backdrop enhancement */
#startTrialModal .modal-backdrop {
    background: linear-gradient(135deg, rgba(230, 42, 56, 0.1) 0%, rgba(44, 62, 80, 0.1) 100%);
    backdrop-filter: blur(10px);
}

/* Input focus animations */
#startTrialModal .form-control:focus,
#startTrialModal .form-select:focus {
    animation: inputPulse 0.6s ease;
}

@keyframes inputPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

/* Increase modal width */
#startTrialModal .modal-dialog {
    max-width: 700px;
}

/* Responsive enhancements */
@media (max-width: 768px) {
    #startTrialModal .modal-dialog {
        margin: 1rem;
        max-width: 95%;
    }
    
    #startTrialModal .modal-body {
        padding: 2rem 1.5rem;
    }
    
    #startTrialModal .modal-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    #startTrialModal .modal-title {
        font-size: 1.5rem;
    }
    
    #startTrialModal .submit-btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}

/* Loading state for submit button */
#startTrialModal .submit-btn.loading {
    pointer-events: none;
    opacity: 0.8;
}

#startTrialModal .submit-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success Toast Styling */
.success-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(40, 167, 69, 0.3);
    z-index: 9999;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-width: 350px;
}

.success-toast.show {
    transform: translateX(0);
    opacity: 1;
}

.success-toast .toast-content {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
}

.success-toast i {
    font-size: 1.2rem;
    color: white;
}

/* Form validation states */
#startTrialModal .form-control.is-valid,
#startTrialModal .form-select.is-valid {
    border-color: #28a745;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' 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: 3rem;
}

#startTrialModal .form-control.is-invalid,
#startTrialModal .form-select.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 d='m5.8 4.6 2.4 2.4m0-2.4L5.8 9.4'/%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: 3rem;
}

/* Floating label effect */
#startTrialModal .form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

#startTrialModal .form-group.focused .form-label {
    transform: translateY(-25px) scale(0.85);
    color: #E62A38;
}

#startTrialModal .form-label {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: left top;
}

/* Enhanced input animations */
#startTrialModal .form-control:not(:placeholder-shown) + .form-label,
#startTrialModal .form-select:not([value=""]) + .form-label {
    transform: translateY(-25px) scale(0.85);
    color: #E62A38;
}

/* Input group enhancements */
#startTrialModal .input-group {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
}

#startTrialModal .input-group-text {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #e8e8e8;
    border-right: none;
    border-radius: 12px 0 0 12px;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    font-weight: 600;
    color: #6c757d;
    transition: all 0.3s ease;
}

#startTrialModal .input-group .form-control {
    border-left: none;
    border-radius: 0 12px 12px 0;
}

#startTrialModal .input-group:focus-within .input-group-text {
    border-color: #E62A38;
    background: linear-gradient(135deg, #fff5f5 0%, #ffe6e6 100%);
    color: #E62A38;
}

/* Enhanced select dropdown */
#startTrialModal .form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px 12px;
    padding-right: 3rem;
}

#startTrialModal .form-select:focus {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23E62A38' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e");
}

/* Hover effects for form elements */
#startTrialModal .form-control:hover,
#startTrialModal .form-select:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(230, 42, 56, 0.15);
}

/* Focus ring animation */
#startTrialModal .form-control:focus,
#startTrialModal .form-select:focus {
    animation: focusRing 0.6s ease;
}

@keyframes focusRing {
    0% {
        box-shadow: 0 0 0 0 rgba(230, 42, 56, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(230, 42, 56, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(230, 42, 56, 0);
    }
}

/* Enhanced mobile responsiveness */
@media (max-width: 576px) {
    #startTrialModal .modal-dialog {
        margin: 0.5rem;
        max-width: 98%;
    }
    
    #startTrialModal .modal-body {
        padding: 1.5rem 1rem;
    }
    
    #startTrialModal .modal-header {
        padding: 1.25rem 1rem 1rem;
    }
    
    #startTrialModal .modal-title {
        font-size: 1.3rem;
    }
    
    #startTrialModal .submit-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
        width: 100%;
    }
    
    #startTrialModal .form-control,
    #startTrialModal .form-select {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }
    
    .success-toast {
        right: 10px;
        left: 10px;
        max-width: none;
        transform: translateY(-100px);
    }
    
    .success-toast.show {
        transform: translateY(0);
    }
}

/* Zoho CRM Form Styling - Custom Design */
#crmWebToEntityForm {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 2rem;
    margin: 2rem auto;
    max-width: 700px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#crmWebToEntityForm .zcwf_title {
    color: #E62A38;
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

#crmWebToEntityForm .zcwf_row {
    margin: 1.5rem 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

#crmWebToEntityForm .zcwf_col_lab {
    width: 30%;
    min-width: 120px;
    margin-bottom: 0.5rem;
}

#crmWebToEntityForm .zcwf_col_lab label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    display: block;
}

#crmWebToEntityForm .zcwf_col_lab span[style*="color:red"] {
    color: #E62A38 !important;
    font-weight: 700;
}

#crmWebToEntityForm .zcwf_col_fld {
    width: 68%;
    flex: 1;
    min-width: 200px;
}

#crmWebToEntityForm .zcwf_col_fld input[type="text"],
#crmWebToEntityForm .zcwf_col_fld input[type="email"],
#crmWebToEntityForm .zcwf_col_fld input[type="tel"] {
    width: 100%;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: white;
    box-sizing: border-box;
}

#crmWebToEntityForm .zcwf_col_fld input[type="text"]:focus,
#crmWebToEntityForm .zcwf_col_fld input[type="email"]:focus,
#crmWebToEntityForm .zcwf_col_fld input[type="tel"]:focus {
    border-color: #E62A38;
    box-shadow: 0 0 0 3px rgba(230, 42, 56, 0.1);
    outline: none;
}

#crmWebToEntityForm .zcwf_col_fld input[type="text"]:hover,
#crmWebToEntityForm .zcwf_col_fld input[type="email"]:hover,
#crmWebToEntityForm .zcwf_col_fld input[type="tel"]:hover {
    border-color: #E62A38;
    box-shadow: 0 2px 8px rgba(230, 42, 56, 0.1);
}

/* Submit and Reset Buttons */
#crmWebToEntityForm .zcwf_row:last-child {
    margin-top: 2rem;
    text-align: center;
}

#crmWebToEntityForm .formsubmit.zcwf_button {
    background: #E62A38;
    color: white !important;
    border: none;
    border-radius: 6px;
    padding: 0.875rem 2.5rem;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-right: 1rem;
    min-width: 120px;
}

#crmWebToEntityForm .formsubmit.zcwf_button:hover {
    background: #d42432;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(230, 42, 56, 0.3);
}

#crmWebToEntityForm .zcwf_button[type="reset"] {
    background: #6c757d;
    color: white !important;
    border: none;
    border-radius: 6px;
    padding: 0.875rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    min-width: 100px;
}

#crmWebToEntityForm .zcwf_button[type="reset"]:hover {
    background: #5a6268;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

/* Success Message Styling */
#crmWebToEntityForm .wf_customMessageBox {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
    padding: 1rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
}

#crmWebToEntityForm .wf_customCircle {
    background-color: white;
}

#crmWebToEntityForm .wf_customCheckMark {
    border-bottom: 2px solid #28a745;
    border-right: 2px solid #28a745;
}

/* Responsive Design */
@media (max-width: 768px) {
    #crmWebToEntityForm {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    #crmWebToEntityForm .zcwf_row {
        flex-direction: column;
        align-items: stretch;
    }
    
    #crmWebToEntityForm .zcwf_col_lab,
    #crmWebToEntityForm .zcwf_col_fld {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    #crmWebToEntityForm .zcwf_title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    #crmWebToEntityForm .formsubmit.zcwf_button,
    #crmWebToEntityForm .zcwf_button[type="reset"] {
        width: 100%;
        margin: 0.5rem 0;
        padding: 1rem 2rem;
    }
}

@media (max-width: 480px) {
    #crmWebToEntityForm {
        padding: 1rem;
        margin: 0.5rem;
    }
    
    #crmWebToEntityForm .zcwf_title {
        font-size: 1.3rem;
    }
    
    #crmWebToEntityForm .zcwf_col_fld input[type="text"],
    #crmWebToEntityForm .zcwf_col_fld input[type="email"],
    #crmWebToEntityForm .zcwf_col_fld input[type="tel"] {
        padding: 0.875rem 0.75rem;
        font-size: 0.9rem;
    }
}

/* Form Loading State */
#crmWebToEntityForm .formsubmit.zcwf_button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Input Placeholder Styling */
#crmWebToEntityForm .zcwf_col_fld input::placeholder {
    color: #adb5bd;
    font-style: italic;
}

/* Required Field Indicator */
#crmWebToEntityForm .zcwf_col_lab label[for*="required"]::after {
    content: " *";
    color: #E62A38;
    font-weight: 700;
}

/* Form Section Spacing */
#crmWebToEntityForm .zcwf_row:not(:last-child) {
    border-bottom: 1px solid #f8f9fa;
    padding-bottom: 1.5rem;
}

/* Enhanced Focus States */
#crmWebToEntityForm .zcwf_col_fld input:focus {
    transform: translateY(-1px);
}

/* Button Group Styling */
#crmWebToEntityForm .zcwf_row:last-child .zcwf_col_fld {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Success Animation */
@keyframes formSuccess {
    0% { transform: scale(0.95); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

#crmWebToEntityForm .wf_customMessageBox {
    animation: formSuccess 0.3s ease-out;
}
