.ps-app-shell {
    max-width: 420px;
    margin: 20px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.ps-app-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
}

.ps-app-header {
    margin-bottom: 20px;
}

.ps-header-tag {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #00880c;
    text-transform: uppercase;
}

.ps-header-title {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin: 4px 0 0 0;
}

.ps-camera-frame {
    position: relative;
    width: 100%;
    height: 320px;
    border-radius: 18px;
    overflow: hidden;
    background: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

#ps-webcam {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
}

.ps-cam-tap-notice {
    position: absolute;
    top: 12px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 12px;
    pointer-events: none;
}

.ps-face-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.ps-face-guide {
    width: 180px;
    height: 240px;
    border: 3px dashed rgba(255, 255, 255, 0.75);
    border-radius: 50%;
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.35);
}

.ps-badge-loc {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 500;
}

.ps-geo-info {
    display: flex;
    justify-content: space-between;
    background: #f8fafc;
    border-radius: 14px;
    padding: 12px 16px;
    margin: 16px 0;
    border: 1px solid #e2e8f0;
}

.ps-geo-item {
    display: flex;
    flex-direction: column;
}

.ps-geo-label {
    font-size: 11px;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
}

.ps-geo-val {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin-top: 2px;
}

.ps-text-success { color: #16a34a !important; }
.ps-text-danger { color: #dc2626 !important; }
.ps-text-pending { color: #d97706 !important; }

.ps-btn-app {
    width: 100%;
    background: #00880c;
    color: #ffffff;
    border: none;
    padding: 16px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 8px 20px rgba(0, 136, 12, 0.25);
}

.ps-btn-app:disabled {
    background: #cbd5e1;
    color: #94a3b8;
    box-shadow: none;
    cursor: not-allowed;
}

.ps-alert {
    padding: 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
}

.ps-alert-danger { background: #fee2e2; color: #991b1b; }
.ps-alert-success { background: #dcfce7; color: #166534; }

.ps-success-box { text-align: center; padding: 30px 10px; }
.ps-success-icon {
    width: 60px; height: 60px;
    background: #dcfce7; color: #16a34a;
    font-size: 30px; font-weight: 900;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px auto;
}