
.register-modern-card {
    position: relative;
    overflow: hidden;
}

.register-modern-card::before {
    content: "";
    position: absolute;
    right: -80px;
    top: -80px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.14), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.device-note-modern {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    margin-bottom: 18px;
    background: linear-gradient(135deg, #eff6ff, #f8fafc);
    border: 1px solid #dbeafe;
    border-radius: 20px;
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.08);
}

.device-note-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: #2563eb;
    color: white;
    font-size: 22px;
    flex-shrink: 0;
}

.device-note-content b {
    display: block;
    color: #0f172a;
    font-size: 15px;
    margin-bottom: 3px;
}

.device-note-content span {
    display: block;
    color: #1d4ed8;
    font-weight: 800;
    font-size: 14px;
}

.device-note-content small {
    display: block;
    margin-top: 4px;
    color: #64748b;
    font-size: 12px;
    line-height: 1.35;
    word-break: break-word;
}

.ua-patch-fullname {
    animation: uaFadeIn 0.25s ease;
}

@keyframes uaFadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

.user-modern-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(239,246,255,0.96));
}

.user-modern-identity {
    display: flex;
    align-items: center;
    gap: 14px;
}

.avatar-circle {
    width: 58px;
    height: 58px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: white;
    font-weight: 900;
    font-size: 24px;
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.28);
}

.user-modern-identity span {
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
}

.user-modern-identity b {
    font-size: 22px;
    line-height: 1.1;
}

.user-modern-identity small {
    display: block;
    color: #64748b;
    font-size: 13px;
    margin-top: 2px;
}

@media (max-width: 768px) {
    .device-note-modern {
        border-radius: 18px;
        padding: 13px;
    }

    .avatar-circle {
        width: 50px;
        height: 50px;
        border-radius: 17px;
        font-size: 21px;
    }

    .user-modern-identity {
        align-items: flex-start;
    }

    .user-modern-identity b {
        font-size: 19px;
    }
}
