.login-page {
    background: #f8fafb;
    font-family: 'Poppins', sans-serif;
}

.login {
    padding-top: 100px;
}

.login h2 {
    font-weight: 100;
}

.login p {
    font-size: 14px;
    color: #989898;
}

.form-login {
    width: 100%;
    padding: 20px 0;
}

.form-login .login-input {
    width: 65%;
}

.form-login .form-group {
    margin: 0;
}

.form-login input {
    margin: 0;
    border: none;
    border-radius: 0;
    border-bottom: 1px solid #d7dbe1;
    background-color: transparent;
    height: 30px;
    padding: 5px 10px;
    color: #9ba3b3;
    font-weight: 300;
    font-size: 14px;
}

.login-link, .forget-login {
    color: #9ba3b3;
}

.login-link:hover, .forget-login:hover {
    text-decoration: none;
    color: #df6d1a;
}

.form-login input:focus {
    outline: none;
    border: none;
    background-color: transparent;
    box-shadow: none;
}

.form-login label {
    margin: 0;
    color: #acb2c1;
    font-size: 14px;
    font-weight: 300;
}

.form-login .login-input-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: start;
    border: 1px solid #eef1f4;
    padding: 15px 0;
}

.form-login .login-input-container.email {
    border-radius: 8px 8px 0 0;
    background-color: #eef1f4;
}

.form-login .login-input-container.password {
    border-radius: 0 0 8px 8px;
}

.form-login .login-icon {
    width: 22%;
    text-align: center;
}

.form-login .login-icon i {
    color: #c7ccd6;
    font-size: 28px;
}

.login-actions {
    margin-top: 30px;
}

.cbx {
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
}
.cbx span {
    display: inline-block;
    vertical-align: middle;
    transform: translate3d(0, 0, 0);
}
.cbx span:first-child {
    position: relative;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    transform: scale(1);
    vertical-align: middle;
    border: 1px solid #B9B8C3;
    transition: all 0.2s ease;
}
.cbx span:first-child svg {
    position: absolute;
    z-index: 1;
    top: 8px;
    left: 6px;
    fill: none;
    stroke: white;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 16px;
    stroke-dashoffset: 16px;
    transition: all 0.3s ease;
    transition-delay: 0.1s;
    transform: translate3d(0, 0, 0);
}
.cbx span:first-child:before {
    content: "";
    width: 100%;
    height: 100%;
    background: #df6d1a;
    display: block;
    transform: scale(0);
    opacity: 1;
    border-radius: 50%;
    transition-delay: 0.2s;
}
.cbx span:last-child {
    margin-left: 8px;
}

.cbx:hover span:first-child {
    border-color: #df6d1a;
}

.inp-cbx:checked + .cbx span:first-child {
    border-color: #df6d1a;
    background: #df6d1a;
    animation: check 0.6s ease;
}
.inp-cbx:checked + .cbx span:first-child svg {
    stroke-dashoffset: 0;
}
.inp-cbx:checked + .cbx span:first-child:before {
    transform: scale(2.2);
    opacity: 0;
    transition: all 0.6s ease;
}
.inp-cbx:checked + .cbx span:last-child {
    color: #B9B8C3;
    transition: all 0.3s ease;
}
.inp-cbx:checked + .cbx span:last-child:after {
    transform: scaleX(1);
    transition: all 0.3s ease;
}

@keyframes check {
    50% {
        transform: scale(1.2);
    }
}

.draw-border {
    box-shadow: inset 0 0 0 2px #000;
    color: #000;
    -webkit-transition: color 0.25s 0.0833333333s;
    transition: color 0.25s 0.0833333333s;
    position: relative;
}
.draw-border::before, .draw-border::after {
    border: 0 solid transparent;
    box-sizing: border-box;
    content: '';
    pointer-events: none;
    position: absolute;
    width: 0;
    height: 0;
    bottom: 0;
    right: 0;
}
.draw-border::before {
    border-bottom-width: 2px;
    border-left-width: 2px;
}
.draw-border::after {
    border-top-width: 2px;
    border-right-width: 2px;
}
.draw-border:hover {
    color: #df6d1a;
}
.draw-border:hover::before, .draw-border:hover::after {
    border-color: #df6d1a;
    -webkit-transition: border-color 0s, width 0.25s, height 0.25s;
    transition: border-color 0s, width 0.25s, height 0.25s;
    width: 100%;
    height: 100%;
}
.draw-border:hover::before {
    -webkit-transition-delay: 0s, 0s, 0.25s;
    transition-delay: 0s, 0s, 0.25s;
}
.draw-border:hover::after {
    -webkit-transition-delay: 0s, 0.25s, 0s;
    transition-delay: 0s, 0.25s, 0s;
}

.login .btn {
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1.5;
    padding: 10px 20px;
    letter-spacing: 0.05rem;
}
.login .btn:focus {
    outline: 2px dotted #55d7dc;
}

.register-page {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8e8e8 100%);
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    padding: 40px 0;
}

.register {
    padding-top: 40px;
    padding-bottom: 60px;
}

/* Register Card */
.register-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    animation: slideUp 0.5s ease;
}

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

/* Progress Bar */
.progress-wrapper {
    background: linear-gradient(135deg, #ef3602 0%, #f48202 100%);
    padding: 30px 20px;
}

.progress-bar-custom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.step-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #ffffff;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.progress-step.active .step-circle {
    background: #ffffff;
    color: #f46502;
    border-color: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transform: scale(1.1);
}

.progress-step.completed .step-circle {
    background: #10b981;
    border-color: #10b981;
}

.step-label {
    margin-top: 10px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    text-align: center;
}

.progress-step.active .step-label {
    color: #ffffff;
    font-weight: 600;
}

.progress-line {
    flex: 1;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    margin: 0 10px;
    position: relative;
    top: -20px;
}

.progress-line.completed {
    background: #10b981;
}

/* Register Content */
.register-content {
    padding: 40px;
}

.register-header {
    text-align: center;
    margin-bottom: 40px;
}

.register-header h2 {
    font-size: 28px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 10px;
}

.register-header p {
    color: #6b7280;
    font-size: 14px;
}

.login-link {
    color: #e86204;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.login-link:hover {
    color: #764ba2;
    text-decoration: none;
}

/* Wizard Steps */
.wz-step {
    display: none;
    animation: fadeIn 0.4s ease;
}

.wz-step.active {
    display: block;
}

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

.step-content {
    margin-bottom: 30px;
}

.step-title {
    font-size: 22px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e5e7eb;
}

/* Form Styling */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
    display: block;
}

.required {
    color: #ef4444;
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 16px;
    z-index: 1;
}

.input-with-icon .form-control {
    padding-left: 45px;
}

.form-control {
    height: 48px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #f9fafb;
}

.form-control:focus {
    border-color: #667eea;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    outline: none;
}

.form-control.is-invalid {
    border-color: #ef4444;
    background: #fef2f2;
}

.form-control.is-valid {
    border-color: #10b981;
    background: #f0fdf4;
}

.invalid-feedback {
    display: none;
    color: #ef4444;
    font-size: 12px;
    margin-top: 5px;
}

.form-control.is-invalid ~ .invalid-feedback {
    display: block;
}

select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239ca3af' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
    height: 48px !important;
    min-height: 48px;
    line-height: normal;
    padding: 0 40px 0 15px;
    display: flex;
    align-items: center;
}

select.form-control option {
    padding: 10px;
    line-height: normal;
}

/* Password Strength */
.password-strength {
    margin-top: 8px;
}

.strength-bar {
    height: 4px;
    background: #e5e7eb;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 5px;
}

.strength-bar::after {
    content: '';
    display: block;
    height: 100%;
    width: 0;
    background: #ef4444;
    transition: all 0.3s ease;
}

.strength-bar.weak::after {
    width: 33%;
    background: #ef4444;
}

.strength-bar.medium::after {
    width: 66%;
    background: #f59e0b;
}

.strength-bar.strong::after {
    width: 100%;
    background: #10b981;
}

.strength-text {
    font-size: 12px;
    color: #6b7280;
}

/* Toggle Password */
.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #9ca3af;
    transition: color 0.3s ease;
    z-index: 2;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-password:hover {
    color: #667eea;
}

/* Ajuste para inputs com toggle password */
.password-input {
    position: relative;
    display: block;
}

.password-input .form-control {
    padding-right: 45px !important;
}

.password-input .toggle-password {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 48px;
    width: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
}

/* CEP Loading */
.cep-loading {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #667eea;
    display: none;
}

.cep-loading.active {
    display: block;
}

/* Business Type Selector */
.business-type-selector {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.type-option {
    flex: 1;
    cursor: pointer;
    margin: 0;
}

.type-option input[type="radio"] {
    display: none;
}

.type-card {
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    background: #f9fafb;
}

.type-card i {
    font-size: 36px;
    color: #9ca3af;
    margin-bottom: 10px;
    display: block;
}

.type-card span {
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
    display: block;
}

.type-option input[type="radio"]:checked + .type-card {
    border-color: #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

.type-option input[type="radio"]:checked + .type-card i {
    color: #667eea;
}

.type-option input[type="radio"]:checked + .type-card span {
    color: #667eea;
    font-weight: 600;
}

.delivery-type {
    display: none;
    animation: fadeIn 0.3s ease;
}

.delivery-type.active {
    display: block;
}

/* URL Preview */
.url-preview-group {
    position: relative;
}

.url-preview {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
    padding: 8px 12px;
    background: #f3f4f6;
    border-radius: 6px;
}

.url-preview small {
    color: #6b7280;
    font-size: 12px;
}

.url-preview i {
    margin-right: 5px;
}

#url-preview-text {
    font-weight: 600;
    color: #667eea;
}

.url-status {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
}

.url-status.available {
    background: #d1fae5;
    color: #065f46;
}

.url-status.unavailable {
    background: #fee2e2;
    color: #991b1b;
}

.url-status.checking {
    background: #fef3c7;
    color: #92400e;
}

/* Step Actions */
.step-actions {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding-top: 30px;
    border-top: 2px solid #e5e7eb;
}

.step-actions .btn {
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    border: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.btn-primary {
    background: linear-gradient(135deg, #e53904 0%, #db6004 100%);
    color: #ffffff;
    flex: 1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
    background: #f3f4f6;
    color: #6b7280;
}

.btn-secondary:hover {
    background: #e5e7eb;
    color: #374151;
}

.btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    flex: 1;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
}

/* Input Group */
.input-group-text {
    background: #f3f4f6;
    border: 2px solid #e5e7eb;
    border-right: none;
    color: #6b7280;
    font-size: 13px;
    padding: 12px 15px;
    border-radius: 10px 0 0 10px;
}

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

.input-group-prepend + .form-control:focus {
    border-left: none;
}

/* Responsive */
@media (max-width: 768px) {
    .register-content {
        padding: 30px 20px;
    }
    
    .progress-bar-custom {
        flex-direction: column;
        gap: 20px;
    }
    
    .progress-line {
        display: none;
    }
    
    .step-circle {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .business-type-selector {
        flex-direction: column;
    }
    
    .step-actions {
        flex-direction: column;
    }
    
    .step-actions .btn {
        width: 100%;
    }
}