/* Screen 2: Header - Extreme Shrink (v5.1.12) */
.header h1 {
    font-size: 14px;
    /* Reduced from default ~32px, roughly 2x-3x smaller but legible */
    margin: 5px 0;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Screen 2: Deal Info - Premium & Compact (v5.1.11) */
.deal-display-compact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    /* Reduced gap */
    margin-bottom: 15px;
    /* Reduced margin */
}

.deal-row {
    display: flex;
    flex-direction: column;
    gap: 2px;
    /* Reduced gap */
    background: transparent;
    border: none;
    padding: 0;
}

.field-label {
    font-size: 10px;
    /* Smaller label */
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-left: 2px;
}

.field-value {
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    /* Slightly smaller radius */
    padding: 8px 12px;
    /* Reduced padding */
    font-size: 14px;
    /* Slightly smaller font */
    font-weight: 500;
    color: var(--text-color);
    text-align: left;
    width: 100%;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pin-input-display {
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 24px;
    /* Smaller PIN display */
    font-weight: 700;
    text-align: center;
    width: 100%;
    padding: 5px;
    margin-bottom: 8px;
    letter-spacing: 5px;
    font-family: monospace;
}

.pin-keyboard-compact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    /* Reduced gap */
    margin-bottom: 15px;
    width: 100%;
}

.pin-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    font-size: 18px;
    /* Smaller text */
    padding: 10px 0;
    border-radius: 10px;
    height: 48px;
    /* Reduced height from 60px */
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
}

.pin-btn:active {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
}

.controls-group {
    display: flex;
    gap: 10px;
    margin-top: auto;
    padding-bottom: 80px;
    /* Reduced buffer */
}

.btn-confirm {
    flex: 1;
    background: var(--primary-color);
    color: #0f172a;
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.btn-back {
    flex: 1;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 12px;
    border-radius: 10px;
    font-size: 14px;
}