* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body { font-family: "Poppins", sans-serif; background: #ffffff; color: #1e293b; }

.btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.75rem 1.75rem; background: #2563eb; color: #fff; font-size: 0.875rem; font-weight: 600; border-radius: 0.5rem; transition: all 0.2s; cursor: pointer; border: none; width: 100%; }

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

.btn-outline { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.625rem 1rem; background: transparent; color: #2563eb; font-size: 0.875rem; font-weight: 500; border-radius: 0.5rem; border: 1.5px solid #bfdbfe; transition: all 0.2s; cursor: pointer; width: 100%; }

.btn-outline:hover { border-color: #3b82f6; background: #eff6ff; }

.input-field { width: 100%; padding: 0.75rem 1rem; border: 1.5px solid #e2e8f0; border-radius: 0.5rem; font-size: 0.875rem; color: #1e293b; background: #fff; transition: border-color 0.2s; outline: none; font-family: "Poppins", sans-serif; }

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

.input-field::placeholder { color: #94a3b8; }

.form-label { display: block; font-size: 0.8125rem; font-weight: 600; color: #475569; margin-bottom: 0.375rem; }

.divider { display: flex; align-items: center; gap: 1rem; margin: 1.5rem 0; }

.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: #e2e8f0; }

.divider span { font-size: 0.75rem; color: #94a3b8; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; }

.auth-link { color: #2563eb; font-size: 0.875rem; font-weight: 600; text-decoration: none; cursor: pointer; transition: color 0.2s; }

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

.text-link { color: #64748b; font-size: 0.8125rem; text-decoration: none; cursor: pointer; transition: color 0.2s; }

.text-link:hover { color: #2563eb; text-decoration: underline; }

.checkbox-custom { width: 1rem; height: 1rem; border: 1.5px solid #cbd5e1; border-radius: 0.25rem; cursor: pointer; accent-color: #2563eb; }

.input-field.error { border-color: #ef4444; }

.input-field.error:focus { box-shadow: 0 0 0 3px rgba(239,68,68,0.1); }

.bg-card-glass { background: rgba(255,255,255,0.1); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.15); }

.bg-card-glass:hover { border-color: rgba(255,255,255,0.25); }

.check-icon { background: rgba(255,255,255,0.15); }

.tenant-card { cursor: pointer; transition: all 0.2s; border: 1px solid #e2e8f0; border-radius: 0.5rem; }

.tenant-card:hover { border-color: #2563eb; box-shadow: 0 4px 12px rgba(37,99,235,0.1); transform: translateY(-2px); }

.tenant-card.selected { border-color: #2563eb; background: #eff6ff; }

.fade-in { animation: fadeIn 0.3s ease-out; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

@keyframes spin { to { transform: rotate(360deg); } }

.spinner { animation: spin 1s linear infinite; }

.btn-primary-inverse { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.75rem 1.75rem; background: #ffffff; color: #2563eb; font-size: 0.875rem; font-weight: 600; border-radius: 0.5rem; transition: all 0.2s; cursor: pointer; border: none; text-decoration: none; }

.btn-primary-inverse:hover { background: #f8fafc; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }

.btn-primary:disabled { opacity: 0.7; cursor: not-allowed; transform: none; box-shadow: none; }

.bg-gradient-to-br .form-label {
    display: block; font-size: 0.8125rem; font-weight: 600; color: rgba(255,255,255,0.9); margin-bottom: 0.375rem;
}
.bg-gradient-to-br .auth-link {
    color: #93c5fd; font-size: 0.875rem; font-weight: 600; text-decoration: none; cursor: pointer; transition: color 0.2s;
}
.bg-gradient-to-br .auth-link:hover {
    color: #ffffff; text-decoration: underline;
}
.bg-gradient-to-br .text-link {
    color: rgba(255,255,255,0.6); font-size: 0.8125rem; text-decoration: none; cursor: pointer; transition: color 0.2s;
}
.bg-gradient-to-br .text-link:hover {
    color: #ffffff; text-decoration: underline;
}
.bg-gradient-to-br .btn-primary {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.75rem 1.75rem; background: #ffffff; color: #2563eb; font-size: 0.875rem; font-weight: 600; border-radius: 0.5rem; transition: all 0.2s; cursor: pointer; border: none; width: 100%;
}
.bg-gradient-to-br .btn-primary:hover {
    background: #f8fafc; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}
.bg-gradient-to-br .btn-primary:disabled {
    opacity: 0.7; cursor: not-allowed; transform: none; box-shadow: none;
}
.bg-gradient-to-br .btn-outline {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.625rem 1rem; background: transparent; color: #ffffff; font-size: 0.875rem; font-weight: 500; border-radius: 0.5rem; border: 1.5px solid rgba(255,255,255,0.3); transition: all 0.2s; cursor: pointer; width: 100%;
}
.bg-gradient-to-br .btn-outline:hover {
    border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.1);
}
.bg-gradient-to-br .input-field {
    width: 100%; padding: 0.75rem 1rem; border: 1.5px solid rgba(255,255,255,0.2); border-radius: 0.5rem; font-size: 0.875rem; color: #ffffff; background: rgba(255,255,255,0.1); transition: border-color 0.2s; outline: none; backdrop-filter: blur(4px);
}
.bg-gradient-to-br .input-field:focus {
    border-color: rgba(255,255,255,0.5); box-shadow: 0 0 0 3px rgba(255,255,255,0.1);
}
.bg-gradient-to-br .input-field::placeholder {
    color: rgba(255,255,255,0.5);
}
.bg-gradient-to-br .input-field.error {
    border-color: #fca5a5;
}
.bg-gradient-to-br .input-field.error:focus {
    box-shadow: 0 0 0 3px rgba(239,68,68,0.2);
}
.bg-gradient-to-br .checkbox-custom {
    width: 1rem; height: 1rem; border: 1.5px solid rgba(255,255,255,0.3); border-radius: 0.25rem; cursor: pointer; accent-color: #93c5fd;
}