* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    overflow-x: hidden;
    background-image: url('../img/Corporate_women.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background-size: cover;
    background-position: -80px 80px;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: none;
    opacity: 0;
    z-index: 1;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-blur {
    position: absolute;
    width: 60vw;
    height: 60vw;
    max-width: 966px;
    max-height: 966px;
    background: transparent;
    box-shadow: none;
    border-radius: 50%;
    filter: none;
    top: 5%;
    left: 5%;
}

.hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    height: 100vh;
    display: flex;
}

/* Split Layout Styles */
.split-layout {
    display: flex;
    width: 100%;
    height: 100vh;
}

.left-panel {
    width: 45%;
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 50px 60px;
    overflow: hidden;
}

.right-panel {
    width: 55%;
    margin-left: 50%;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 50px 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

/* Custom Scrollbar for Right Panel */
.right-panel::-webkit-scrollbar {
    width: 8px;
}

.right-panel::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.right-panel::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

.right-panel::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Ensure cotopay logo stays at top */
.left-panel .left-column-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.left-panel .cotopay-logo {
    flex-shrink: 0;
    margin-bottom: 60px;
}

.left-panel .hero-text-content {
    flex-grow: 0;
}

/* Logo */
.cotopay-logo {
    color: white;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 40px;
    flex-shrink: 0;
}

/* Content Views Management */
.content-view {
    display: none;
    animation: fadeInUp 0.5s ease-out;
    width: 100%;
    max-width: 520px;
}

.content-view.active {
    display: block;
}

/* Selection Card */
.selection-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
}

.card-header-custom {
    padding: 30px 20px;
    border-bottom: 1px solid #EDEDF0;
}

.greeting-text {
    color: #2F945A;
    font-size: 19px;
    font-style: italic;
    font-weight: 700;
    line-height: 26.6px;
    margin-bottom: 10px;
}

.intro-text {
    color: #4A4E69;
    font-size: 19px;
    line-height: 26.6px;
}

.intro-text strong {
    font-weight: 700;
}

/* User Type Cards */
.user-type-card {
    border: 1px solid #EDEDF0;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
    height: 100%;
}

.user-type-card:hover {
    border-color: #367AFF;
    box-shadow: 0 8px 24px rgba(54, 122, 255, 0.15);
    transform: translateY(-4px);
}

.illustration-container {
    background: #FBFBFB;
    border-radius: 10px;
    padding: 20px;
    min-height: 189px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.card-content {
    padding: 16px;
}

.user-type-title {
    color: #1F212C;
    font-size: 19px;
    font-weight: 700;
    line-height: 26.6px;
    margin-bottom: 8px;
}

.user-type-description {
    color: #4A4E69;
    font-size: 13px;
    line-height: 18.2px;
}

.start-button {
    color: #4A4E69;
    font-size: 13px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.start-button:hover {
    color: #367AFF;
    gap: 12px;
}

.arrow-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.start-button:hover .arrow-icon {
    transform: translateX(4px);
}

/* Footer */
.card-footer-custom {
    padding: 30px 20px;
    border-top: 1px solid #EDEDF0;
    text-align: center;
}

.footer-text {
    color: #4A4E69;
    font-size: 16px;
    line-height: 22.4px;
}

.login-link {
    color: #367AFF;
    font-weight: 600;
    text-decoration: none;
}

.login-link:hover {
    text-decoration: underline;
}

/* Hero Text Content */
.hero-text-content {
    color: white;
    margin-top: auto;
}

.hero-headline {
    font-size: clamp(1.5rem, 3vw, 23px);
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 20px;
}

.highlight-green {
    color: #2F945A;
}


.highlight-white {
    color: white;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 10px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.check-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
   /* background: #2F945A;*/
   background: transparent;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
}

.feature-text {
    font-size: 12px;
    line-height: 18.2px;
}

/* Left Column */
.left-column-section {
    background: none;
    position: relative;
    display: flex !important;
    flex-direction: column;
    height: 100vh;
    justify-content: flex-start;
}

.left-column-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    padding: 0;
    height: 100%;
    justify-content: space-between;
}

/* Registration Card */
.registration-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.card-header {
    padding: 30px 20px;
    border-bottom: 1px solid #EDEDF0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.back-arrow {
    width: 24px;
    height: 24px;
    cursor: pointer;
    flex-shrink: 0;
}

.header-title {
    color: #1F212C;
    font-size: 19px;
    font-weight: 700;
    line-height: 26.6px;
}

.card-body {
    padding: 30px 20px;
    max-height: none;
}

/* Form Styles */
.form-section {
    width: 100%;
}

.section-title {
    color: #1F212C;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 4px;
}

.form-label {
    color: #1F212C;
    font-size: 15px;
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #EDEDF0;
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Open Sans', sans-serif;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #367AFF;
}

.phone-input-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.country-code {
    color: #4A4E69;
    font-size: 15px;
    font-weight: 600;
}

/* Radio Buttons */
.radio-group,
.yes-no-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 10px 15px;
    border: 1px solid #EDEDF0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.radio-option:hover {
    border-color: #2F945A;
}

.radio-button {
    width: 20px;
    height: 20px;
    border: 2px solid #EDEDF0;
    border-radius: 50%;
    background: white;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.radio-button.selected {
    background: #367AFF;
    border-color: #367AFF;
}

.radio-label {
    color: #4A4E69;
    font-size: 14px;
}

/* Agreement Section */
.agreement-section {
    margin: 30px 0;
}

.agreement-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.agreement-checkbox-button {
    width: 24px;
    height: 24px;
    min-width: 24px;
    border: 2px solid #EDEDF0;
    border-radius: 4px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.agreement-checkbox-button.checked {
    background: #367AFF;
    border-color: #367AFF;
}

.agreement-text {
    color: #4A4E69;
    font-size: 14px;
    line-height: 1.5;
}

.agreement-text a {
    color: #367AFF;
    text-decoration: none;
}

.agreement-text a:hover {
    text-decoration: underline;
}

/* Buttons */

/* Disabled */
.register-button:disabled {
  background: #EBF2FF;
 
  cursor: not-allowed;
}

/* Enabled (THIS gives you the blue button you want) */
.register-button:enabled {
  background: #367AFF;
  color: white;
  cursor: pointer;
}
.register-button
{
	width: 100%;
	   padding: 14px;
	   background: #EBF2FF;
	   border: none;
	   border-radius: 8px;
	   color: #A3C2FF;
	   font-size: 16px;
	   font-weight: 600;
	   cursor: not-allowed;
	   transition: all 0.3s ease;
}
.submit-button {
    width: 100%;
    padding: 14px;
    background: #D3D3D3;
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: not-allowed;
    transition: all 0.3s ease;
}


.submit-button.active {
    background: #367AFF;
    cursor: pointer;
}


.submit-button.active:hover {
    background: #2563EB;
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 16px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #1F212C;
}

.close-button {
    width: 32px;
    height: 32px;
    border: none;
    background: #F5F5F5;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4A4E69;
}

.close-button:hover {
    background: #EDEDF0;
}

.modal-body {
    text-align: center;
}

.otp-description {
    color: #4A4E69;
    font-size: 15px;
    margin-bottom: 30px;
}

.otp-input-group {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
}

.otp-input {
    width: 50px;
    height: 50px;
    border: 2px solid #EDEDF0;
    border-radius: 8px;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
}

.otp-input:focus {
    outline: none;
    border-color: #367AFF;
}

.resend-section {
    margin-bottom: 20px;
    color: #4A4E69;
    font-size: 14px;
}

.resend-button {
    color: #367AFF;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
}

.resend-button:hover {
    text-decoration: underline;
}

.verify-button {
    width: 100%;
    padding: 14px;
    background: #367AFF;
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.verify-button:hover {
    background: #2563EB;
}

/* Thank You Modal */
.thankyou-modal {
    text-align: center;
}

.thankyou-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    /*background: #367AFF;*/
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 50px;
    font-weight: 700;
}

.thankyou-title {
    font-size: 24px;
    font-weight: 700;
    color: #1F212C;
    margin-bottom: 10px;
}

.thankyou-message {
    color: #4A4E69;
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.5;
}

.thankyou-button {
    padding: 14px 40px;
    background: #367AFF;
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.thankyou-button:hover {
    background: #2563EB;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .registration-card {
        max-width: 550px;
    }
}

@media (max-width: 991px) {
    .hero-content {
        padding: 30px 0;
    }
    
    .selection-card,
    .registration-card {
        margin-top: 30px;
        max-width: 100%;
    }
    
    .hero-text-content {
        margin-top: 40px;
        text-align: center;
    }

    .card-body {
        max-height: none;
    }
}

@media (max-width: 767px) {
    .greeting-text,
    .intro-text {
        font-size: 16px;
        line-height: 22.4px;
    }

    .user-type-title {
        font-size: 17px;
    }

    .card-header-custom,
    .card-footer-custom,
    .card-header {
        padding: 20px 15px;
    }

    .card-body {
        padding: 20px 15px;
    }

    .header-title {
        font-size: 17px;
        line-height: 24px;
    }

    .section-title {
        font-size: 16px;
    }

    .form-label {
        font-size: 14px;
    }

    .form-input {
        padding: 10px 14px;
        font-size: 14px;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

    .otp-input {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .register-button,
    .submit-button {
        padding: 12px;
        font-size: 15px;
    }
}

@media (max-width: 575px) {
    .hero-section {
        min-height: auto;
        padding: 20px 0;
    }

    .hero-content {
        padding: 20px 0;
    }

    .cotopay-logo {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .illustration-container {
        min-height: 120px;
    }

    .selection-card,
    .registration-card {
        border-radius: 12px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    }

    .card-header {
        padding: 15px 12px;
        gap: 8px;
    }

    .card-body {
        padding: 15px 12px;
    }

    .header-title {
        font-size: 15px;
        line-height: 20px;
    }

    .back-arrow {
        width: 20px;
        height: 20px;
    }

    .section-title {
        font-size: 15px;
        margin-bottom: 15px;
    }

    .form-group {
        margin-bottom: 15px;
    }

    .form-label {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .form-input {
        padding: 10px 12px;
        font-size: 13px;
        border-radius: 6px;
    }

    .phone-input-group {
        gap: 8px;
    }

    .country-code {
        font-size: 14px;
    }

    .radio-group,
    .yes-no-group {
        gap: 8px;
    }

    .radio-option {
        padding: 8px 12px;
        border-radius: 6px;
    }

    .radio-button {
        width: 16px;
        height: 16px;
    }

    .radio-button.selected::after {
        width: 8px;
        height: 8px;
    }

    .radio-label {
        font-size: 13px;
    }

    .agreement-section {
        margin: 15px 0;
    }

    .agreement-text {
        font-size: 12px;
        line-height: 16px;
    }

    .agreement-checkbox-button {
        width: 18px;
        height: 18px;
        min-width: 18px;
    }

    .register-button,
    .submit-button {
        padding: 10px;
        font-size: 14px;
        border-radius: 6px;
    }

    .modal-content {
        padding: 20px;
        width: 95%;
        border-radius: 12px;
    }

    .modal-title {
        font-size: 18px;
    }

    .otp-input {
        width: 35px;
        height: 35px;
        font-size: 16px;
        gap: 6px;
    }

    .otp-input-group {
        gap: 6px;
    }

    /* Mobile: Stack layout vertically */
    .split-layout {
        flex-direction: column;
        height: auto;
    }

    .left-panel {
        width: 100%;
        position: relative;
        height: auto;
        padding: 30px 20px;
    }

    .right-panel {
        width: 100%;
        margin-left: 0;
        height: auto;
        overflow-y: visible;
        padding: 30px 20px;
    }

    .hero-content {
        height: auto;
    }

    .left-panel .cotopay-logo {
        margin-bottom: 30px;
        font-size: 1.5rem;
    }

    .hero-headline {
        font-size: 1.3rem;
        line-height: 1.5;
    }
}

/* Tablet responsive */
@media (min-width: 768px) and (max-width: 1199px) {
    .left-panel {
        width: 50%;
        padding: 40px;
    }

    .right-panel {
        width: 50%;
        margin-left: 50%;
        padding: 40px;
    }
}

/* Company Details Section */
.company-details-section {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 16px;
    margin-top: 16px;
    border-left: none;
}

.company-details-section .form-group {
    margin-bottom: 12px;
}

.company-details-section .form-group:last-child {
    margin-bottom: 0;
}

/* Email and Phone inline layout */
/* Email and Phone inline layout */
.work-contact-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr; /* 👈 key change */
  gap: 15px;
  align-items: center;
}

.work-field {
  display: flex;
  flex-direction: column;
}

.or-separator {
  font-size: 12px;
  font-weight: 600;
  color: #9AA0A6;
  line-height: 1;       /* 🔑 prevents vertical drift */
  display: flex;
  align-items: center; /* 🔑 centers text vertically */
}

.work-contact-row .form-group {
  margin-bottom: 0;
}
.or-separator {
  font-size: 12px;
  font-weight: 600;
  color: #9AA0A6;
  text-align: center;
}
@media (max-width: 768px) {
  .work-contact-row {
    grid-template-columns: 1fr;
  }

  .or-separator {
    margin: 6px 0;
  }
}


/* Error Message Styling */
.error-message {
    color: #DC3545;
    font-size: 12px;
    line-height: 16px;
    margin-top: 6px;
    display: block;
}

.form-input.error {
    border-color: #DC3545 !important;
    background-color: #fff5f5;
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.check-icon img {
    width: 24px;
    height: 24px;
    display: block;
}


.selection-card,
.registration-card,
.hero-text-content {
    animation: fadeInUp 0.6s ease-out;
}

.image-style-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.phone-input-wrapper {
  display: flex;
  gap: 10px;
}

.country-pill {
  background: #f4f6fb;
  border-radius: 10px;
  padding: 12px 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
}

.phone-only {
  flex: 1;
}

.form-block {
  margin-top: 10px;
}

.pill-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pill-radio {
  border: 1px solid #EDEDF0;
  border-radius: 20px;
  padding: 8px 14px;
  cursor: pointer;
}

.pill-radio input {
  display: none;
}

.pill-radio span {
  font-size: 13px;
  color: #4A4E69;
}

.pill-radio input:checked + span {
  color: #367AFF;
  font-weight: 600;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  font-size: 14px;
}

.bank-card {
  border: 1px solid #EDEDF0;
  border-radius: 12px;
  padding: 14px 16px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bank-question {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #4A4E69;
}

.bank-question img {
  height: 20px;
  width: auto;
}

.bank-options {
  display: flex;
  align-items: center;
  gap: 16px;
}

.bank-options label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #4A4E69;
  cursor: pointer;
}

.option-divider {
  width: 1px;
  height: 16px;
  background: #EDEDF0;
}


.yes-no-inline {
  display: flex;
  gap: 20px;
}

.agreement-row {
  font-size: 13px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}


.phone-input-container {
  display: flex;
  align-items: center;
  border: 1px solid #EDEDF0;
  border-radius: 10px;
  padding: 0 14px;
  height: 48px;
  background: #fff;
}

.phone-prefix {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-right: 12px;
  margin-right: 12px;
  border-right: 1px solid #EDEDF0;
  font-size: 14px;
  font-weight: 600;
  color: #4A4E69;
}

.flag-icon {
  width: 20px;
  height: auto;
}

.phone-input {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  height: 100%;
  font-size: 14px;
  flex: 1;
}
.company-size-field {
  display: flex;
  align-items: center;
  gap: 24px;
  border: 1px solid #EDEDF0;
  border-radius: 12px;
  padding: 14px 16px;
  background: #fff;
}

.company-size-option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #4A4E69;
  cursor: pointer;
}

.company-size-option input[type="radio"] {
  margin: 0;
}

.checkbox-field {
  border: 1px solid #EDEDF0;
  border-radius: 12px;
  padding: 14px 16px;
  background: #fff;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
}

.checkbox-grid label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #4A4E69;
}
.form-divider {
  width: 100%;
  height: 1px;
  background: #EDEDF0;
  margin: 24px 0 16px;
}

.login-footer {
  text-align: center;
  font-size: 14px;
  color: #4A4E69;
}

.login-footer a {
  color: #367AFF;
  font-weight: 600;
  text-decoration: none;
}

.login-footer a:hover {
  text-decoration: underline;
}


.intro-info {
  margin-bottom: 24px;
}

.intro-title {
  font-size: 17px;
  font-weight: 700;
  color: #1F212C;
  margin-bottom: 10px;
}

.intro-description {
  font-size: 16px;
  line-height: 1.5;
  color: #4A4E69;
  margin-bottom: 8px;
}

.intro-subtext {
  font-size: 16px;
  line-height: 1.5;
  color: #4A4E69;
  margin-bottom: 0;
}

.highlight-green {
  color: #2F945A;
  font-weight: 600;
}
.form-input.error {
  border-color: #F34822 !important;
  background-color: #fff5f5;
}

.phone-input-container.error {
  border-color: #F34822 !important;
}

.error-msg {
  font-size: 13px;
  color: #F34822;
  margin-top: 4px;
  display: none;          /* 🔴 hidden by default */
}


