.wrapper-form {
    padding: 8px;
    border-radius: 6px;
    background-color: #FFFFFF;
    max-width: 215px;
    box-shadow: 0px 10px 15px -3px rgba(0,0,0,0.15);
}

#signin-b2bear-btn {
    cursor: pointer;
    display: flex;
}

#signin-b2bear-btn img {
    max-width: 100%;
    height: auto;
    display: block;
}

#linkedin-userinfo-form {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.loading {
    width: 100%;
    height: 2px;
    background-color: #ededed;
    margin-top: 10px;
}

.only-fields {
    display: flex;
    gap: 1rem;
}

#linkedin-userinfo-form .fields {
    display: none;
    gap: 1rem;
}

#linkedin-userinfo-form .fields .field, .only-fields .field {
    flex: 3;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

#linkedin-userinfo-form .fields .field label {
    font-size: 14px;
    font-weight: 600;
}

#linkedin-userinfo-form .fields .field.photo, .only-fields .field.photo {
    flex: 1;
}

#linkedin-userinfo-form .fields .field.photo img {
    border-radius: 26px;
    margin-top: 5px;
}

.only-fields .field.photo img {
    border-radius: 26px;
}

.only-fields .field.name {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.2rem;
}

.only-fields .field.name #logout {
    font-size: 12px;
}

#linkedin-userinfo-form input[type="text"],
#linkedin-userinfo-form input[type="email"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-bottom: 0.5rem;
}

#linkedin-userinfo-form button[type="submit"] {
    background-color: #007dc0;
    color: #fff;
    padding: 12.5px 16px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    width: 100%;
    font-size: 14px;
    font-weight: 600;
}

#linkedin-userinfo-form button[type="submit"]:hover {
    background-color: #0073b1;
}

#linkedin-userinfo-form button[type="submit"]:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.signin-b2bear-message {
    margin-top: 12px;
    padding: 10px 16px;
    border-radius: 4px;
    display: none;
    font-weight: bold;
    font-size: 14px;
}

.signin-b2bear-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.signin-b2bear-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.field-error {
    border-color: #dc3545;
}

.signin-b2bear-loader-bar {
  position: relative;
  width: 100%;
  height: 2px;
  background: #e0e0e0;
  overflow: hidden;
  margin-top: 10px;
}

.signin-b2bear-loader-bar .bar {
  position: absolute;
  height: 100%;
  width: 30%;
  background: #0073aa;
  animation: signin-b2bear-loader-move 1.2s linear infinite;
}

@keyframes signin-b2bear-loader-move {
  0% {
    left: -30%;
  }
  50% {
    left: 50%;
    width: 40%;
  }
  100% {
    left: 100%;
  }
}
