/* EVPlug registration layout (extends ev-auth.css) */

.ev-register {
    width: 100%;
    zoom: 90%;
    border-radius: 13px;
}

.ev-auth-wrapper .company-logo img {
    max-height: 60px;
    width: 30%;
    
}
/* Particulier / Entreprise segmented toggle */
.ev-register__type-toggle-wrap {
    max-width: 340px;
    margin: 0 auto 24px;
    text-align: center;
}

.ev-register__type-toggle {
    display: flex;
    gap: 4px;
    background: #f1f5f9;
    border-radius: 8px;
    padding: 4px;
}

.ev-seg-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 0;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    border: none;
    background: transparent;
    color: #6a6c6f;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.ev-seg-btn i {
    font-size: 14px;
}

.ev-seg-btn.active {
    background: #fff;
    color: #1A3050;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.14);
}

.ev-seg-btn:focus {
    outline: none;
}

.ev-cl-type-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.ev-register__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 8px;
}

.ev-register__col {
    display: flex;
    flex-direction: column;
}

.ev-register__section {
    background: #f8fafc;
    border: 1px solid #d9d9d9;
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 16px;
}

.ev-register__col .ev-register__section:last-child {
    margin-bottom: 0;
}

.ev-register__section-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.ev-register__section-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 194, 122, 0.12);
    color: #00C27A;
    font-size: 14px;
    flex-shrink: 0;
}

.ev-register__section--security .ev-register__section-icon {
    background: rgba(14, 148, 136, 0.12);
    color: #0e9488;
}

.ev-register__section--company .ev-register__section-icon {
    background: rgba(124, 58, 237, 0.12);
    color: #7C3AED;
}

.ev-register__section--company {
    /* border-color: rgba(124, 58, 237, 0.25); */
}

.ev-register__section--address .ev-register__section-icon {
    background: rgba(245, 158, 11, 0.12);
    color: #F59E0B;
}

.ev-register__section-title {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #494949;
}

.ev-register__section-subtitle {
    margin: 0;
    font-size: 12px;
    color: #94a3b8;
}

.ev-register__fields {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ev-register__row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.ev-register .form-group {
    margin-bottom: 16px;
}

.ev-register .form-group:last-child {
    margin-bottom: 0;
}

/* Outlined inputs with adaptive (notched) labels, instead of a label above the field */
.ev-register .form-group:not(.chk):not(.cf-hyperlink) {
    position: relative;
}

.ev-register .form-group:not(.chk):not(.cf-hyperlink) > label.control-label {
    position: absolute;
    top: 0;
    left: 12px;
    transform: translateY(-50%);
    margin: 0;
    padding: 0 6px;
    background: #f8fafc;
    font-size: 11px;
    line-height: 1.3;
    white-space: nowrap;
    z-index: 4;
    pointer-events: none;
}

.ev-register input.form-control,
.ev-register select.form-control,
.ev-register .bootstrap-select > .dropdown-toggle {
    border-radius: 8px;
}

/* Detach the "send code" button from the phone input instead of a flush Bootstrap input-group */
.ev-register .register-contact-phone-group .input-group {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.ev-register .register-contact-phone-group .input-group .form-control {
    float: none;
    width: auto;
    flex: 1 1 auto;
    border-radius: 8px;
}

.ev-register .register-contact-phone-group .input-group-btn {
    display: block;
    width: auto;
    white-space: nowrap;
}

.ev-register .register-contact-phone-group .input-group-btn .btn {
    height: 100%;
    min-height: 40px;
    border-left: 1px solid #00C27A;
    border-radius: 8px;
}

.ev-register .help-block {
    margin-top: 6px;
    margin-bottom: 0;
    font-size: 12px;
}

.ev-register .region-hint {
    display: none;
    margin-top: 8px;
    padding: 8px 10px;
    border-radius: 4px;
    background: #fff;
    border: 1px solid #e4e5e7;
    font-size: 12px;
    color: #6a6c6f;
}

.ev-register .region-hint.is-visible {
    display: block;
}

.ev-register__footer {
    padding-top: 8px;
    margin-top: 8px;
    border-top: 1px solid #eef2f7;
}

.ev-register__footer .checkbox {
    margin: 0 0 14px;
}

.ev-register .entreprise-only.hide {
    display: none !important;
}

.ev-register .register-recaptcha {
    margin-bottom: 14px;
}

.ev-register .input-group-btn .btn {
    color: #00C27A;
    border-color: #00C27A;
    background: #fff;
}

.ev-register .input-group-btn .btn:hover,
.ev-register .input-group-btn .btn:focus {
    background: #eefbf1;
}

@media (max-width: 991px) {
    .ev-register__grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
}
