@font-face { 
 font-family: 'barlow';
 src: url('barlow/Barlow-SemiBold.otf') format('opentype'),
      url('barlow/Barlow-SemiBold.ttf') format('truetype');
 font-weight: 600;
    font-style: normal;
}

@font-face { 
 font-family: 'barlow';
 src: url('barlow/Barlow-Medium.otf') format('opentype'),
      url('barlow/Barlow-Medium.ttf') format('truetype');
 font-weight: 500;
    font-style: normal;
}

@font-face { 
 font-family: 'barlow';
 src: url('barlow/Barlow-Regular.otf') format('opentype'),
      url('barlow/Barlow-Regular.ttf') format('truetype');
 font-weight: 400;
 font-style: normal;
}

:root {
    --primary-blue: #007bff;
    --secondary-gray: #f8f9fa; 
    --text-color: #333;
    --light-gray-border: #ced4da; 
}

body {
    font-family: 'barlow', sans-serif;
    margin: 0;
    background-color: #EFF6FF;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.h1 {
    font-family: bold, serif;
    font-weight: 600;
    font-size: 1.4em;
    color: #444748;
    margin-top: 20px;
    margin-bottom: 5px;
    margin-left: 10px;
}

.subtitle {
    font-weight: 500;
    font-size: 0.9em;
    color:#96A5B1;
    margin-top: 5px;
    margin-bottom: 30px;
}

.container {
    display: flex;
    width: 90%; 
    max-width: 1200px;
    background-color: #ffffff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border-radius: 0px;
    overflow: hidden;;
    margin: 30px;
    position: relative;
}

.left-illustration {
    display: block;
    flex:3;
    background-image: url('bg.jpg'); 
    background-size: cover;
    background-position: center;
    justify-content: center;
    align-items: center;
    padding: 0px;
}

.illustration {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1; 
}

.left-illustration .logo {
    font-weight:700;
    font-size: 2.5em;
    margin: 20px;
    position: absolute;
    top: 10px;
    left:10px;
    width: 70px;
    height: 30px;
    color: #ffffff;
}

.right-form-section {
    flex: 2;
    padding: 5px;
    display: inline-block;
    justify-content: left;
    align-items: left;
    background-color: #FFFFFF;
    margin: 10px;
}

.form-section {
    flex: 1;
    padding: 10px;
    display: block;
    align-items: center;
    background-color: #ffffff;
}

.form-card h1 {
    font-weight: 700;
    margin-bottom: 10px;
    color: var(black);
}

.form-card .subtitle {
    font-weight: 500;
    font-size: 0.9em;
    color: #b7bbbe;
    margin-bottom: 30px;
}

.social-login {
    display: flex;
    width: 100%;
    gap: 15px;
    margin-bottom: 20px;
}

.social-login button {
    font-weight: 400;
    font-size: 0.8em;
    flex: 2;
    padding: 10px;
    border: none;
    border-radius: 0px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.facebook-btn {
    background-color: #255A9B;
    color: white;
}
.facebook-btn:hover {
    background-color: #30487a;
    color: white;
}
.facebook-btn img {
    width: 15px; 
    height: 15px;
    margin-right: 8px;
}

.linkedin-btn{
    background-color: #0076B6;
    color: white;
}
.linkedin-btn:hover{
    background-color: #016091;
    color: white;
}

.linkedin-btn img {
    width: 15px;
    height: 15px;
    margin-right: 8px;
}

.divider {
    font-weight: 400;
    font-size: 0.5em;
    display:flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex: 0.3;
    margin: 20px 0;
    color: #717070;
}

.divider::before,
.divider::after {
    content: '';
     width: 50px;
   border-bottom: 1px solid #ddd; 
}

.divider:not(:empty)::before {
    margin-right: .30em;
}

.divider:not(:empty)::after {
    margin-left: .30em;
}

.form-group {
    font-weight: 400;
    font-size: 0.7em;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    margin:10px;
    width: 100%;
    gap:50px;
}

.form-group input[type="email"],
.form-group input[type="tel"] { 
    display: inline-block;
    width:170px;
    padding: 10px;
    border: 1px solid #ced4da;
    border-radius: 0px; 
    margin: 10px 10px 0px 0px; 
}

.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus {
    outline: #007bff;
    border-left: 1px solid #007bff; 
}

.form-group input::placeholder {
    color: #6c757d;
}

.h2 {
    font-family: 'semibold', serif;
    font-weight: 600;
    font-size: 1em;
    margin-top: 35px;
    margin-bottom: 5px;
    color: #7B8A92;
}

.select-investor {
    font-weight: 500;
    font-size: 0.9em;
    color: #7f8182;
    margin-top: 0px;
    margin-bottom: 40px;
}

.investor-type-options {
    font-weight: 500;
    font-size: 0.9em;
    display: inline-block;
    justify-content: left;
    align-items: left; 
    gap: 5px;
    margin-bottom: 60px;
}

.radio-container {
    background-color: transparent;
    display: inline-block;
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 1em;
}

.radio-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 15px;
    width: 15px;
    background-color: #eeeeee;
    border-radius: 50%;
    border: 1px solid var(--light-gray-border);
}

.radio-container:hover input ~ .checkmark {
    background-color: #eeeeee;
}

.radio-container input:checked ~ .checkmark {
    background-color: var(--primary-blue);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.radio-container input:checked ~ .checkmark:after {
    display: block;
}

.radio-container .checkmark:after {
    top: 5px;
    left: 5px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: white;
}

.info-circle {
  display: block;
  width: 10px;
  height: 1px;
  line-height: 10px;
  border-radius: 50%;
  background-color: transparent;
  color: rgb(24, 24, 24);
  text-align: center;
  font-size: 10px;
  font-weight: bold;
  cursor: pointer;
  margin-left: 5px;
}

.tooltip {
  display: none;
  position: absolute;
  background: rgb(255, 255, 255);
  color: rgb(14, 12, 12);
  padding: 2px 4px;
  border-radius: 0px;
  font-size: 10px;
  width: 100px;
  text-align: bottom;
  z-index: 1;
}

.hover-info {
  position: relative;
  display: inline-block;
}
.hover-info:hover .tooltip {
  display: block;
  top: 20px;
  left: 30%;
  box-shadow: 10px 10px 10px rgba(21, 20, 20, 0.1);
  align-items: end;
}

.terms-checkbox {
    font-weight: 400;
    font-size: 0.6em;
    color: #6c757d;
    margin-top: 20px;
    margin-bottom: 20px;
    display: block;
}

.terms-checkbox input[type="checkbox"] {
    margin-right: 10px;
    width: 10px;
    height: 10px;
    background-color: #eeeeee;
}

.terms-checkbox label a {
    color: var(--primary-blue);
    text-decoration: none;
}

.terms-checkbox label a:hover {
    text-decoration: underline;
}

.create-account-btn {
    width: 70%;
    padding: 10px;
    background-color: #3698FB;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin: 20px;
    align-items: left;
}

.create-account-btn:hover {
    background-color: #1c7ddd;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        width: 50%;
        border-radius: 0;
        box-shadow: none;
    }

    .left-illustration {
        display: none; 
    }

    .right-form-section {
        padding: 10px;
    }

    .social-login {
        flex-direction: column;
    }

    .form-group {
        width: 100%;
        flex-direction: column; 
    }
}
