* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

:root {
    --primary: #407684;
    --primary-hover: #35636e;
    --bg-light: #ffffff;
    --card-bg: #ffffff;
    --border-color: #e2e8f0;
    --text-main: #1a1a1a;
    --text-muted: #64748b;
    --accent-gradient: linear-gradient(to right, #d4b08c, #407684);
}

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.container {
    width: 100%;
    max-width: 500px;
    z-index: 1;
}

.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    text-align: center;
}

h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--primary);
}

p {
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.6;
}

.form-group {
    margin-bottom: 24px;
    text-align: left;
}

label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-main);
}

input {
    width: 100%;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 14px 16px;
    color: var(--text-main);
    font-size: 1rem;
    outline: none;
    transition: all 0.2s ease;
}

input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(64, 118, 132, 0.1);
}

button {
    width: 100%;
    background: var(--accent-gradient);
    color: white;
    border: none;
    border-radius: 100px;
    padding: 16px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

button:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* Wallet Preview Specifics */
.wallet-container {
    display: none;
    flex-direction: column;
    width: 100%;
    max-width: 420px;
    margin: 20px auto;
    background: #f2f2f7;
    border-radius: 50px;
    padding: 20px;
    min-height: 90vh;
    box-shadow: 0 0 0 12px #1a1a1a, 0 30px 100px rgba(0, 0, 0, 0.3);
    position: relative;
    border: 1px solid #ddd;
}

.wallet-container.active {
    display: flex;
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
    from {
        transform: translateY(100vh);
    }

    to {
        transform: translateY(0);
    }
}

.iphone-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10px 30px;
}

.header-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.dynamic-island {
    width: 100px;
    height: 30px;
    background: #000;
    border-radius: 20px;
}

.done-btn {
    background: none;
    border: none;
    color: #000;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    width: auto;
}

.menu-btn {
    background: #e5e5ea;
    border: none;
    color: #000;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

.id-card-preview {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.badge {
    width: 100%;
    background: #407684;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    color: white;
    padding-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.badge-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
}

.badge-top-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.badge-mini-logo {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.badge-header-title {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.badge-top-right {
    text-align: right;
}

.field-stack {
    display: flex;
    flex-direction: column;
}

.badge-banner {
    width: 100%;
    height: auto;
    overflow: hidden;
}

.banner-img {
    width: 100%;
    display: block;
}

.badge-body {
    padding: 20px 25px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
}

.field-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    opacity: 0.8;
    letter-spacing: 0.5px;
}

.value {
    font-size: 1.1rem;
    font-weight: 500;
}

.value.name {
    font-size: 1.6rem;
    font-weight: 600;
}

.badge-footer {
    display: flex;
    justify-content: center;
    padding-top: 10px;
}

.qr-container {
    background: white;
    padding: 10px;
    border-radius: 10px;
    width: 160px;
    height: 160px;
}

.qr-inner {
    width: 100%;
    height: 100%;
}

.qr-mock {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(12, 1fr);
    gap: 1px;
}

.qr-dot {
    background: #000;
}

.wallet-actions {
    padding: 30px 10px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.wallet-badge-img {
    height: 48px;
}

.helper-text {
    color: #8e8e93;
    font-size: 0.85rem;
}