@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&family=Space+Grotesk:wght@300..700&display=swap');


*::before,
*::after {
    box-sizing: border-box;
}

body,
html {
    margin: 0;
    padding: 0;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif !important;
}

/* ===== Auth Layout ===== */
.auth-wrapper {
    display: flex;
    min-height: 100vh;
}

.auth-brand-panel {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50%;
    padding: 60px;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 40%, #1e40af 100%),
        url('../../../frontend/images/hosting.jpg');
    background-blend-mode: multiply;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.auth-brand-panel::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -30%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    border-radius: 0px;
}

.auth-brand-panel::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.auth-brand-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 400px;
}

.auth-brand-content img {
    width: 180px;
    margin-bottom: 40px;
    filter: brightness(0) invert(1);
}

.auth-brand-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.3;
}

.auth-brand-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.auth-brand-features {
    position: relative;
    z-index: 1;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.auth-brand-features .feature {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 0px;
    backdrop-filter: blur(4px);
}

.auth-brand-features .feature i {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.2);
    border-radius: 10px;
    font-size: 14px;
    color: #93c5fd;
    flex-shrink: 0;
}

.auth-brand-features .feature span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

@media (min-width: 992px) {
    .auth-brand-panel {
        display: flex;
    }
}

/* ===== Auth Form Panel ===== */
.auth-form-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 24px;
    background: #f8fafc;
    min-height: 100vh;
    overflow-y: auto;
}

.auth-form-container {
    width: 100%;
    max-width: 440px;
}

.auth-form-container.auth-wide {
    max-width: 680px;
}

.auth-logo-mobile {
    text-align: center;
    margin-bottom: 32px;
}

.auth-logo-mobile img {
    width: 140px;
}

@media (min-width: 992px) {
    .auth-logo-mobile {
        display: none;
    }
}

.auth-card {
    background: #eeeeee;
    border-radius: 0px;
    padding: 40px 36px;
border: 1px solid #DADCE0;
    box-shadow: 0 2px 6px 0 rgba(60, 64, 67, 0.16) !important;
}

.auth-card-header {
    margin-bottom: 28px;
}

.auth-card-header h3 {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px 0;
}

.auth-card-header p {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* ===== Form Elements ===== */
.auth-form-group {
    margin-bottom: 20px;
}

.auth-label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
    display: block;
    letter-spacing: 0.01em;
}

.auth-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    font-family: inherit;
    border: 1.5px solid #d1d5db;
    border-radius: 10px;
    background: #fff;
    color: #1f2937;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.auth-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}

.auth-input::placeholder {
    color: #9ca3af;
}

.auth-select {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    font-family: inherit;
    border: 1.5px solid #d1d5db;
    border-radius: 10px;
    background: #fff;
    color: #1f2937;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    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='%236B7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.auth-select:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}

.auth-btn {
    width: 100%;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.auth-btn-primary {
    background: #2563eb;
    color: #fff;
}

.auth-btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.auth-btn-primary:active {
    transform: translateY(0);
}

.auth-btn-primary:disabled {
    background: #93c5fd;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.auth-row {
    display: flex;
    gap: 16px;
}

.auth-row>* {
    flex: 1;
}

.auth-checkbox-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.auth-checkbox-row label {
    font-size: 14px;
    color: #64748b;
    cursor: pointer;
}

.auth-checkbox-row a {
    font-size: 14px;
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.auth-checkbox-row a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.auth-divider {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 24px 0;
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: #64748b;
}

.auth-footer a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.auth-alert {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 13px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.auth-alert-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.auth-alert-danger {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.auth-alert-warning {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
}

.auth-copyright {
    text-align: center;
    margin-top: 32px;
    font-size: 12px;
    color: #94a3b8;
}

/* Password strength indicator */
.password-requirements {
    margin-top: 8px;
    padding: 12px 14px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.password-requirements p {
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    margin: 0 0 6px 0;
}

.password-requirements ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.password-requirements li {
    font-size: 12px;
    color: #94a3b8;
    padding: 2px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.password-requirements li::before {
    content: '\f111';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 5px;
}

.password-requirements li.met {
    color: #16a34a;
}

.password-requirements li.met::before {
    content: '\f058';
    font-size: 12px;
}

/* Responsive */
@media (max-width: 576px) {
    .auth-card {
        padding: 28px 20px;
    }

    .auth-row {
        flex-direction: column;
        gap: 0;
    }
}
