body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Segoe UI", Arial, sans-serif;
    background: linear-gradient(135deg, #f4f8ff 0%, #eaf2ff 100%);
    color: #1f2937;
}

.card {
    width: min(92vw, 520px);
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
    padding: 32px 28px;
    text-align: center;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: #e8f1ff;
    color: #2563eb;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
}

.edge-logo {
    width: 84px;
    height: 84px;
    margin-bottom: 14px;
}

.status {
    font-size: 18px;
    line-height: 1.55;
    color: #334155;
    margin: 0 0 18px;
    min-height: 52px;
}

.edge-text {
    color: #0078D4;
    font-weight: 700;
}

.edge-link {
    text-decoration: none;
}

.edge-link:hover {
    text-decoration: underline;
}

.status-inline-logo {
    display: inline-block;
    width: 28px;
    height: 28px;
    vertical-align: middle;
    margin: 0 4px;
}

.download-btn {
    display: none;
    border: none;
    border-radius: 999px;
    padding: 12px 22px;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.drive-btn {
    display: none;
    margin-top: 12px;
    border: none;
    border-radius: 999px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #0f766e, #0d665f);
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(15, 118, 110, 0.25);
}

.drive-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(15, 118, 110, 0.3);
}

.password-box {
    display: none;
    margin: 18px auto 0;
    max-width: 380px;
    padding: 14px 16px;
    border: 1px solid #b8d9ff;
    border-radius: 16px;
    background: linear-gradient(135deg, #f7fbff 0%, #eef6ff 100%);
    box-shadow: 0 0 0 1px rgba(0, 120, 212, 0.08), 0 8px 24px rgba(0, 120, 212, 0.12), 0 0 18px rgba(0, 120, 212, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.modal-password-box {
    margin: 10px auto 18px;
    max-width: 100%;
}
.password-label {
    display: block;
    font-size: 13px;
    font-weight: 800;
    color: #0078D4;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-shadow: 0 1px 0 rgba(255,255,255,0.8);
    background: rgba(0, 120, 212, 0.08);
    padding: 4px 8px;
    border-radius: 999px;
}

.password-value {
    display: inline-block;
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    user-select: all;
    word-break: break-all;
    text-align: center;
    text-shadow: 0 1px 0 rgba(255,255,255,0.7);
}

.copy-btn {
    margin-left: 0;
    border: none;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #0078D4, #005FB8);
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(0, 120, 212, 0.25);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.copy-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(0, 120, 212, 0.3);
}

.copy-btn.copied {
    background: linear-gradient(135deg, #0f766e, #0d665f);
}

.copy-toast {
    margin-top: 10px;
    color: #0f766e;
    font-size: 14px;
    font-weight: 600;
    min-height: 20px;
}

.video-link {
    display: inline-block;
    margin-top: 18px;
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
}

.video-link:hover {
    text-decoration: underline;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 16px;
}

.modal-box {
    width: min(92vw, 420px);
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.2);
    padding: 24px;
    text-align: center;
}

.modal-title {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 10px;
}

.modal-text {
    font-size: 15px;
    color: #334155;
    line-height: 1.6;
    margin: 0 0 18px;
}

.modal-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.modal-btn {
    border: none;
    border-radius: 999px;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.modal-btn-primary {
    color: #ffffff;
    background: linear-gradient(135deg, #0078D4, #005FB8);
}

.modal-btn-secondary {
    color: #334155;
    background: #e2e8f0;
}
