.skc-login-page {
    min-height: 100vh;
    display: flex;
    flex-direction: row-reverse;
    background: #f5f5f5;
}

.skc-login-page,
.skc-login-page button,
.skc-login-page input {
    font-family: "Inter", var(--font-sans) !important;
}

.skc-login-form-side {
    width: 360px;
    min-width: 360px;
    min-height: 100vh;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px 30px 70px;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.skc-login-form-content {
    width: 100%;
}

.skc-login-description {
    color: #666666;
    font-size: 0.85rem;
    line-height: 1.5;
    margin: -4px 0 18px;
}

.skc-login-form-header {
    margin-bottom: 20px;
}

.skc-login-form-logo {
    margin-bottom: 15px;
}

.skc-login-form-logo img {
    max-width: 100%;
    width: auto;
    display: block;
}

.skc-login-form-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #0b2c59;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.skc-login-form-group {
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.skc-login-form-group:focus-within {
    transform: scale(1.01);
}

.skc-login-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 6px;
}

.skc-login-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #dddddd;
    border-radius: 6px;
    font-size: 0.9rem;
    font-family: inherit;
    background: #ffffff;
    transition: all 0.3s ease;
    color: #333333;
}

.skc-login-input:focus {
    outline: none;
    border-color: #38b6ff;
    box-shadow: 0 0 0 3px rgba(11, 44, 89, 0.1);
}

.skc-login-input::placeholder {
    color: #aaaaaa;
}

.skc-login-btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    position: relative;
}

.skc-login-btn-primary {
    background: #0b2c59;
    color: #ffffff;
}

.skc-login-btn-primary:hover,
.skc-login-btn-primary:focus {
    background: #0a2448;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(11, 44, 89, 0.3);
}

.skc-login-btn:active {
    transform: translateY(1px);
}

.skc-login-btn-back {
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.skc-login-btn-back:hover,
.skc-login-btn-back:focus {
    background: #e2e8f0;
    color: #64748b;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.skc-login-btn-link {
    display: block;
    text-align: center;
    text-decoration: none;
}

.skc-login-btn-link:hover,
.skc-login-btn-link:focus {
    text-decoration: none;
}

.skc-login-btn-text-hidden {
    opacity: 0;
}

.skc-login-remember-forgot {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 15px;
    min-height: 20px;
    gap: 10px;
}

.skc-login-checkbox-group {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.skc-login-checkbox-group input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #0b2c59;
}

.skc-login-checkbox-group span {
    color: #666666;
    font-size: 0.85rem;
    cursor: pointer;
    white-space: nowrap;
}

.skc-login-forgot-link {
    color: #0b2c59;
    text-decoration: none;
    font-size: 0.65rem;
    font-weight: 500;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.skc-login-forgot-link:hover,
.skc-login-forgot-link:focus {
    color: #1a4a8a;
    text-decoration: underline;
}

.skc-login-small-link {
    margin: 5px 0 0;
    text-align: center;
    color: #666666;
    font-size: 0.85rem;
}

.skc-login-small-link a {
    color: #0b2c59;
    font-weight: 600;
    text-decoration: none;
}

.skc-login-small-link a:hover,
.skc-login-small-link a:focus {
    text-decoration: underline;
}

.skc-login-inline-actions {
    display: grid;
    gap: 10px;
}

.skc-login-inline-actions form {
    margin: 0;
}

.skc-login-alert {
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.skc-login-alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.skc-login-alert-danger {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.skc-login-loading {
    opacity: 0.7;
    pointer-events: none;
}

.skc-login-loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: skc-login-spin 1s linear infinite;
}

@keyframes skc-login-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.skc-login-footer {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
}

.skc-login-social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.skc-login-social-icons a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border-radius: 50%;
    text-decoration: none;
}

.skc-login-social-icons a:hover {
    transform: translateY(-2px);
}

.skc-login-social-icons a.youtube:hover {
    color: #ff0000;
}

.skc-login-social-icons a.instagram:hover {
    color: #e4405f;
}

.skc-login-social-icons a.facebook:hover {
    color: #1877f2;
}

.skc-login-social-icons a.linkedin:hover {
    color: #0a66c2;
}

.skc-login-copyright {
    color: #9ca3af;
    font-size: 0.8rem;
}

.skc-login-image-side {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.skc-login-background-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.skc-login-image-side::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.skc-login-logo-overlay {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 30px;
}

.skc-login-logo-overlay img {
    max-width: min(100%, 62vw);
    max-height: 220px;
    height: auto;
    display: block;
    object-fit: contain;
}

@media (max-width: 992px) {
    .skc-login-image-side {
        display: none;
    }

    .skc-login-form-side {
        width: 100%;
        min-width: 100%;
        min-height: 100vh;
    }
}

@media (max-width: 480px) {
    .skc-login-form-side {
        padding: 25px 20px 70px;
    }

    .skc-login-form-title {
        font-size: 0.75rem;
    }
}

/* ==========================================================================
   Multi-Step Registration & CNPJ Validation Styles
   ========================================================================== */
.skc-register-form-side {
    width: 440px;
    min-width: 440px;
}

.skc-step-progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    position: relative;
    padding: 0 4px;
}

.skc-step-progress::before {
    content: "";
    position: absolute;
    top: 14px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: #e2e8f0;
    z-index: 1;
}

.skc-step-progress-fill {
    position: absolute;
    top: 14px;
    left: 20px;
    height: 2px;
    background: #0b2c59;
    z-index: 2;
    transition: width 0.3s ease;
    width: 0%;
}

.skc-step-item {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.skc-step-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #cbd5e1;
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.skc-step-item.active .skc-step-circle {
    border-color: #0b2c59;
    background: #0b2c59;
    color: #ffffff;
    box-shadow: 0 0 0 4px rgba(11, 44, 89, 0.15);
}

.skc-step-item.completed .skc-step-circle {
    border-color: #10b981;
    background: #10b981;
    color: #ffffff;
}

.skc-step-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: #64748b;
    white-space: nowrap;
}

.skc-step-item.active .skc-step-label {
    color: #0b2c59;
    font-weight: 700;
}

.skc-form-row {
    display: flex;
    gap: 12px;
}

.skc-form-row > .skc-login-form-group {
    flex: 1;
    min-width: 0;
}

/* OTP 6-Digit Code Inputs */
.skc-otp-container {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 20px 0;
}

.skc-otp-input {
    width: 44px;
    height: 52px;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 800;
    font-family: 'Courier New', Courier, monospace;
    border: 2px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    color: #0b2c59;
    transition: all 0.2s ease;
}

.skc-otp-input:focus {
    outline: none;
    border-color: #0b2c59;
    box-shadow: 0 0 0 3px rgba(11, 44, 89, 0.12);
    background: #f8fafc;
}

/* Inactive CNPJ Alert & Commercial Lead Card */
.skc-inactive-card {
    border: 1px solid #fed7aa;
    background: #fffaf5;
    border-radius: 10px;
    padding: 18px;
    margin-bottom: 20px;
    text-align: left;
}

.skc-inactive-title {
    color: #9a3412;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.skc-inactive-message {
    color: #7c2d12;
    font-size: 0.84rem;
    line-height: 1.5;
    margin-bottom: 14px;
}

.skc-inactive-commercial-form {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #fdba74;
}

.skc-btn-whatsapp {
    background: #25d366;
    color: #ffffff;
}

.skc-btn-whatsapp:hover,
.skc-btn-whatsapp:focus {
    background: #20ba5a;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
}

.skc-step-pane {
    display: none;
    animation: skcFadeIn 0.3s ease;
}

.skc-step-pane.active {
    display: block;
}

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

/* ==========================================================================
   Google OAuth & Social Auth Styles
   ========================================================================== */
.skc-btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #ffffff;
    color: #3c4043;
    border: 1px solid #dadce0;
    border-radius: 6px;
    padding: 10px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    margin-bottom: 12px;
}

.skc-btn-google:hover,
.skc-btn-google:focus {
    background: #f8fafd;
    color: #202124;
    border-color: #c2c8d0;
    box-shadow: 0 2px 6px rgba(60, 64, 67, 0.15);
    text-decoration: none;
}

.skc-btn-google:active {
    background: #f1f3f4;
    transform: translateY(1px);
}

.skc-btn-google svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.skc-auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 16px 0;
    color: #8c9ba5;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.skc-auth-divider::before,
.skc-auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e2e8f0;
}

.skc-auth-divider span {
    padding: 0 12px;
}

.skc-google-connected-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px;
    background: #f8fafc !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 0.8rem;
}

.skc-google-connected-info {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.skc-google-connected-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #e5e7eb !important;
    flex-shrink: 0;
}

.skc-google-connected-text {
    min-width: 0;
}

.skc-google-connected-name {
    font-weight: 700;
    color: #111827 !important;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.skc-google-connected-email {
    color: #64748b !important;
    font-size: 0.72rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.skc-google-cancel-link {
    color: #dc2626;
    font-size: 0.72rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.skc-google-cancel-link:hover {
    background: #fee2e2;
    color: #b91c1c;
    text-decoration: none;
}

/* ==========================================================================
   System Standard Floating Toast Notifications
   ========================================================================== */
.toast-container.erp-toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 10950;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: min(460px, calc(100vw - 32px));
    pointer-events: none;
}

.erp-session-toast {
    pointer-events: auto;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 0.88rem;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.erp-session-toast .toast-body {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
}

.erp-session-toast .toast-icon {
    font-size: 1.25rem;
    line-height: 1;
    flex-shrink: 0;
}

.erp-session-toast.toast-danger {
    border-left: 4px solid #ef4444;
    background: #fffafa;
}
.erp-session-toast.toast-danger .toast-icon {
    color: #ef4444;
}

.erp-session-toast.toast-success {
    border-left: 4px solid #10b981;
    background: #f0fdf4;
}
.erp-session-toast.toast-success .toast-icon {
    color: #10b981;
}

.erp-session-toast.toast-warning {
    border-left: 4px solid #f59e0b;
    background: #fffbeb;
}
.erp-session-toast.toast-warning .toast-icon {
    color: #f59e0b;
}

.erp-session-toast.toast-info {
    border-left: 4px solid #3b82f6;
    background: #eff6ff;
}
.erp-session-toast.toast-info .toast-icon {
    color: #3b82f6;
}

.erp-toast-message,
.erp-toast-message-list {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    line-height: 1.35;
    color: #334155;
}

.erp-toast-error-list {
    margin: 0;
    padding-left: 1rem;
    display: grid;
    gap: 0.2rem;
}
