:root {
    --primary: #00d2ff;
    --primary-glow: rgba(0, 210, 255, 0.4);
    --secondary: #3a7bd5;
    --bg-dark: #020617;
    --card-bg: #0f172a;
    --border: rgba(255, 255, 255, 0.05);
    --text-main: #f1f5f9;
    --text-muted: #64748b;
    --input-bg: rgba(2, 6, 23, 0.6);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-image:
        radial-gradient(at 0% 0%, rgba(0, 210, 255, 0.1) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(58, 123, 213, 0.1) 0px, transparent 50%);
}

.container {
    width: 100%;
    max-width: 420px;
    padding: 20px;
    z-index: 10;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.header {
    text-align: center;
    margin-bottom: 32px;
}

.logo-wrapper {
    width: 56px;
    height: 56px;
    background: var(--primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 10px 20px var(--primary-glow);
}

.logo-wrapper i {
    font-size: 24px;
    color: white;
}

h1 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.subtitle {
    font-size: 14px;
    color: var(--text-muted);
}

/* Stepper */
.stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    gap: 0;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    opacity: 0.4;
    transition: all 0.3s ease;
}

.step-item.active {
    opacity: 1;
}

.step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    transition: all 0.3s ease;
}

.step-item.active .step-num {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
}

.step-label {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-main);
}

.step-line {
    flex: 1;
    height: 1px;
    background: var(--border);
    margin: 0 20px;
    min-width: 40px;
}

.step-item.active~.step-line {
    background: var(--primary);
}

/* Form Styles */
.input-group {
    margin-bottom: 20px;
}

label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.input-container {
    position: relative;
    background: var(--input-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.input-container:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow);
}

.input-container i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 16px;
}

input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 15px;
    outline: none;
}

input::placeholder {
    color: #475569;
}

/* Buttons */
.btn {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 12px var(--primary-glow);
}

.btn-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
}

.btn-group {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 12px;
}

/* Status Pill */
.status-box {
    margin-top: 24px;
    padding: 12px;
    border-radius: 10px;
    font-size: 13px;
    text-align: center;
    display: none;
}

.status-box.show {
    display: block;
}

.status-box.success {
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-box.error {
    color: #f43f5e;
    background: rgba(244, 63, 94, 0.1);
    border: 1px solid rgba(244, 63, 94, 0.2);
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 32px;
    color: var(--text-muted);
    font-size: 12px;
}

.footer strong {
    color: var(--text-main);
}

/* Spinner */
.spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
    display: none;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

#display-mobile {
    color: var(--primary);
    font-weight: 600;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}